commit | 26bb0981b3ff00b9177d61fe55806db978862b3c | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Sep 07 11:14:12 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Dec 03 09:32:22 2009 +0200 |
tree | c64237caadf82729ca0d8aa9a9a66bdce27e66be | |
parent | 18863bdd60f895f3b3ba16b15e8331aee781e8ec [diff] |
KVM: VMX: Use shared msr infrastructure Instead of reloading syscall MSRs on every preemption, use the new shared msr infrastructure to reload them at the last possible minute (just before exit to userspace). Improves vcpu/idle/vcpu switches by about 2000 cycles (when EFER needs to be reloaded as well). [jan: fix slot index missing indirection] Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>