diff options
author | Avi Kivity <avi@redhat.com> | 2009-02-24 22:26:47 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 11:48:21 +0300 |
commit | 5897297bc228fc3c85fdc421fd5c487f9a99821a (patch) | |
tree | bd66cd8b9482b8c3c38e009edc0a7a3796a0c948 /virt/kvm/ioapic.h | |
parent | 3e7c73e9b15eab73e9cf72daf3931925da8afcff (diff) | |
download | kernel-crypto-5897297bc228fc3c85fdc421fd5c487f9a99821a.tar.gz kernel-crypto-5897297bc228fc3c85fdc421fd5c487f9a99821a.tar.xz kernel-crypto-5897297bc228fc3c85fdc421fd5c487f9a99821a.zip |
KVM: VMX: Don't intercept MSR_KERNEL_GS_BASE
Windows 2008 accesses this MSR often on context switch intensive workloads;
since we run in guest context with the guest MSR value loaded (so swapgs can
work correctly), we can simply disable interception of rdmsr/wrmsr for this
MSR.
A complication occurs since in legacy mode, we run with the host MSR value
loaded. In this case we enable interception. This means we need two MSR
bitmaps, one for legacy mode and one for long mode.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm/ioapic.h')
0 files changed, 0 insertions, 0 deletions