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

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: default avatarAvi Kivity <avi@qumranet.com>
parent 3427318f
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