Skip to content
Commit 038881c8 authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@qumranet.com>
parent 024aa1c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment