]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: don't clobber segment AR of unusable segments.
authorGleb Natapov <gleb@redhat.com>
Mon, 21 Jan 2013 13:36:46 +0000 (15:36 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 24 Jan 2013 02:40:28 +0000 (00:40 -0200)
commit000841ec086b5b22352a19432a4a75d53ff1c9a9
tree0da5b484830685afe4332a0ffc308087a8cf2b26
parent90ea2ccb1cda5a29b04ce94b02d31fe54febe726
KVM: VMX: don't clobber segment AR of unusable segments.

Usability is returned in unusable field, so not need to clobber entire
AR. Callers have to know how to deal with unusable segments already
since if emulate_invalid_guest_state=true AR is not zeroed.

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