KVM: VMX: when entering real mode align segment base to 16 bytes
authorGleb Natapov <gleb@redhat.com>
Mon, 27 Dec 2010 15:25:04 +0000 (17:25 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:31:20 +0000 (11:31 +0200)
commit444e863d13373b958ec6b133dcecf140d6c6c2ab
tree3ffcfa69fcf98669e9be9bc3d24f82cb1672f1ea
parentf8e453b00cf1d90a047eb0ef8eefe6200e0f4512
KVM: VMX: when entering real mode align segment base to 16 bytes

VMX checks that base is equal segment shifted 4 bits left. Otherwise
guest entry fails.

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