summaryrefslogtreecommitdiff
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-03-21 15:58:32 (GMT)
committerAvi Kivity <avi@qumranet.com>2007-05-03 07:52:26 (GMT)
commit038881c8bec0e9a796d1782c56e29e7c2456626d (patch)
tree8ca64ffb2f06cb29fa3fda3b9987defc2ece18a4 /drivers/kvm/svm.c
parent024aa1c02f0a9f938af83f55c727bcb18187eba4 (diff)
downloadlinux-fsl-qoriq-038881c8bec0e9a796d1782c56e29e7c2456626d.tar.xz
KVM: Hack real-mode segments on vmx from KVM_SET_SREGS
As usual, we need to mangle segment registers when emulating real mode as vm86 has specific constraints. We special case the reset segment base, and set the "access rights" (or descriptor flags) to vm86 comaptible values. This fixes reboot on vmx. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions