summaryrefslogtreecommitdiff
path: root/include/asm-x86/div64.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-02-26 15:49:16 (GMT)
committerAvi Kivity <avi@qumranet.com>2008-04-27 08:53:27 (GMT)
commit71c4dfafc0932d92cc99c7e839d25174b0ce10a1 (patch)
tree991320ed3bce4cc2665721454c7f10a69fb98b1a /include/asm-x86/div64.h
parent3e4bb3ac9e0ada5df5f6729648d403ea9f071d10 (diff)
downloadlinux-71c4dfafc0932d92cc99c7e839d25174b0ce10a1.tar.xz
KVM: detect if VCPU triple faults
In the current inject_page_fault path KVM only checks if there is another PF pending and injects a DF then. But it has to check for a pending DF too to detect a shutdown condition in the VCPU. If this is not detected the VCPU goes to a PF -> DF -> PF loop when it should triple fault. This patch detects this condition and handles it with an KVM_SHUTDOWN exit to userspace. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86/div64.h')
0 files changed, 0 insertions, 0 deletions