aboutsummaryrefslogtreecommitdiff
path: root/drivers/kvm/segment_descriptor.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-03-20 18:40:40 +0200
committerAvi Kivity <avi@qumranet.com>2007-05-03 10:52:25 +0300
commit8cb5b0333250beb382624f626851a31f601b4830 (patch)
treef2406e4eb5c668f22eb4f53995c1928d9eebf42b /drivers/kvm/segment_descriptor.h
parentaac012245a59d78372dc66d292ba567367d86b60 (diff)
KVM: Workaround vmx inability to virtualize the reset state
The reset state has cs.selector == 0xf000 and cs.base == 0xffff0000, which aren't compatible with vm86 mode, which is used for real mode virtualization. When we create a vcpu, we set cs.base to 0xf0000, but if we get there by way of a reset, the values are inconsistent and vmx refuses to enter guest mode. Workaround by detecting the state and munging it appropriately. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/segment_descriptor.h')
0 files changed, 0 insertions, 0 deletions