commit | f0495f9b9992f80f82b14306946444b287193390 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Jun 07 17:06:10 2012 +0300 |
committer | Avi Kivity <avi@redhat.com> | Mon Jul 09 14:19:01 2012 +0300 |
tree | 407c142b0b1ac05c28962143ef3253b34d9f912c | |
parent | 510425ff3344df03a1f94bce49e659ae302e0d34 [diff] |
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: Avi Kivity <avi@redhat.com>