KVM: VMX: Return real real-mode segment data even if emulate_invalid_guest_state=1
authorAvi Kivity <avi@redhat.com>
Tue, 21 Aug 2012 14:07:07 +0000 (17:07 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 27 Aug 2012 23:02:21 +0000 (20:02 -0300)
commit726364202853f843a97a8ba4a7c3cd91e3aa84b7
tree36e143c7db35bdd7c323634835d93c2ccb96afba
parent0afbe2f8781a812c7e501ec129eff45b21f792af
KVM: VMX: Return real real-mode segment data even if emulate_invalid_guest_state=1

emulate_invalid_guest_state=1 doesn't mean we don't munge the segments in the
vmcs; we do.  So we need to return the real ones (maintained by vmx_set_segment).

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c