Joerg Roedel 71c4dfafc0 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>
2008-04-27 11:53:27 +03:00
..
2008-01-30 18:01:19 +02:00
2008-01-30 18:01:20 +02:00
2008-04-27 11:53:25 +03:00
2008-04-27 11:53:20 +03:00
2008-04-27 11:53:25 +03:00
2008-04-27 11:53:24 +03:00
2008-04-27 11:53:21 +03:00
2008-04-27 11:53:27 +03:00