aboutsummaryrefslogtreecommitdiff
path: root/fs/qnx4/qnx4.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-12-02 12:28:47 +0200
committerAvi Kivity <avi@redhat.com>2009-12-03 09:34:20 +0200
commitd5696725b2a4c59503f5e0bc33adeee7f30cd45b (patch)
tree56069b502c198fbfef0eb0d9bd3a2329b3d37cef /fs/qnx4/qnx4.h
parentf50146bd7bdb75435638e60d4960edd9bcdf88b8 (diff)
KVM: VMX: Fix comparison of guest efer with stale host value
update_transition_efer() masks out some efer bits when deciding whether to switch the msr during guest entry; for example, NX is emulated using the mmu so we don't need to disable it, and LMA/LME are handled by the hardware. However, with shared msrs, the comparison is made against a stale value; at the time of the guest switch we may be running with another guest's efer. Fix by deferring the mask/compare to the actual point of guest entry. Noted by Marcelo. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'fs/qnx4/qnx4.h')
0 files changed, 0 insertions, 0 deletions