KVM: VMX: Fix check guest state validity if a guest is in VM86 mode
authorGleb Natapov <gleb@redhat.com>
Sun, 14 Apr 2013 13:07:37 +0000 (16:07 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 16 Apr 2013 21:34:19 +0000 (18:34 -0300)
commitf13882d84df31a8567032b6bcbfbdd76ac378513
tree5aea267e99be5a2f1a3c828471fbf1af1dd92aea
parent26539bd0e446a54665f9d6f4c69a21140b2e1d85
KVM: VMX: Fix check guest state validity if a guest is in VM86 mode

If guest vcpu is in VM86 mode the vcpu state should be checked as if in
real mode.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c