Re: [PATCH] KVM: VMX: Fix check guest state validity if a guest is in VM86 mode

2013-04-16 Thread Marcelo Tosatti
On Sun, Apr 14, 2013 at 04:07:37PM +0300, Gleb Natapov wrote: > If guest vcpu is in VM86 mode the vcpu state should be checked as if in > real mode. > > Signed-off-by: Gleb Natapov Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to maj

[PATCH] KVM: VMX: Fix check guest state validity if a guest is in VM86 mode

2013-04-14 Thread Gleb Natapov
If guest vcpu is in VM86 mode the vcpu state should be checked as if in real mode. Signed-off-by: Gleb Natapov diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index d268677..fec7c48 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -3554,7 +3554,7 @@ static bool guest_state_valid(s