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

KVM: VMX: Relax check on unusable segment



Some userspace (e.g. QEMU 1.1) munge the d and g bits of segment
descriptors, causing us not to recognize them as unusable segments
with emulate_invalid_guest_state=1.  Relax the check by testing for
segment not present (a non-present segment cannot be usable).

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 510425ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment