KVM: x86 emulator: make loading TR set the busy bit
authorAvi Kivity <avi@redhat.com>
Wed, 13 Jun 2012 13:30:53 +0000 (16:30 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 9 Jul 2012 11:19:05 +0000 (14:19 +0300)
commit869be99c7579c857885643ba2aed87ced339c6a2
tree6690d8025a94deb5634c29dfebe2ede2897d143f
parente919464b53ea29aed46ff10f7d6416268678bdb9
KVM: x86 emulator: make loading TR set the busy bit

Guest software doesn't actually depend on it, but vmx will refuse us
entry if we don't.  Set the bit in both the cached segment and memory,
just to be nice.

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