]> rtime.felk.cvut.cz Git - linux-imx.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)
commit25391454e73e3156202264eb3c473825afe4bc94
tree0da5b484830685afe4332a0ffc308087a8cf2b26
parent218e763f458c44f30041c1b48b4371e130fd4317
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