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

KVM: VMX: Reduce unnecessary saving of host msrs



THe automatically switched msrs are never changed on the host (with
the exception of MSR_KERNEL_GS_BASE) and thus there is no need to save
them on every vm entry.

This reduces vmexit latency by ~400 cycles on i386 and by ~900 cycles (10%)
on x86_64.

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