]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: VMX: Retain limit and attributes when entering protected mode
authorAvi Kivity <avi@redhat.com>
Tue, 21 Aug 2012 14:07:01 +0000 (17:07 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 27 Aug 2012 23:02:20 +0000 (20:02 -0300)
commitc865c43de66dc973865bda337022f03b6e16c8df
tree73bd966f4e624f8060104593d693b9ad5945b165
parentf5f7b2fe3bf849b58c8144729aba78b8e29e1e4c
KVM: VMX: Retain limit and attributes when entering protected mode

Real processors don't change segment limits and attributes while in
real mode.  Mimic that behaviour.

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