KVM: VMX: don't clobber segment AR if emulating invalid state
authorAvi Kivity <avi@redhat.com>
Sun, 4 Jan 2009 21:43:42 +0000 (23:43 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:00 +0000 (11:03 +0200)
commit9fd4a3b7a412f983696b23121413a79d2132fed6
tree79c1ce7536982efd64fe3d1b1368620b3bb4280c
parent1872a3f411ffe95c8e92300e0986a3532db55ce9
KVM: VMX: don't clobber segment AR if emulating invalid state

The ususable bit is important for determining state validity; don't
clobber it.

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