diff options
author | Avi Kivity <avi@qumranet.com> | 2007-08-28 20:48:05 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:52:47 -0500 |
commit | 51c6cf662b4b361a09fbd324f4c67875d9bcfbea (patch) | |
tree | 8b16dd35e100af2feec42306348896a6ef198a50 /drivers/kvm/kvm_main.c | |
parent | 3427318fd2244737a466a06a93c5fe579852f871 (diff) |
KVM: VMX: Further reduce efer reloads
KVM avoids reloading the efer msr when the difference between the guest
and host values consist of the long mode bits (which are switched by
hardware) and the NX bit (which is emulated by the KVM MMU).
This patch also allows KVM to ignore SCE (syscall enable) when the guest
is running in 32-bit mode. This is because the syscall instruction is
not available in 32-bit mode on Intel processors, so the SCE bit is
effectively meaningless.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions