KVM: VMX: Add invalid guest state handler
authorMohammed Gamal <m.gamal005@gmail.com>
Sun, 17 Aug 2008 13:47:05 +0000 (16:47 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:20 +0000 (10:15 +0200)
commitea953ef0ca84e778187905177e2a789a1974837b
tree01a4b64c05382f978274b8d3e87a0a5334998073
parent04fa4d32117b1a7773290fd59a97cf90cfc2a0d4
KVM: VMX: Add invalid guest state handler

This adds the invalid guest state handler function which invokes the x86
emulator until getting the guest to a VMX-friendly state.

[avi: leave atomic context if scheduling]
[guillaume: return to atomic context correctly]

Signed-off-by: Laurent Vivier <laurent.vivier@bull.net>
Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c