diff options
author | Wanpeng Li <wanpeng.li@linux.intel.com> | 2014-08-21 19:46:50 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-29 14:02:48 +0200 |
commit | a7c0b07d570848e50fce4d31ac01313484d6b844 (patch) | |
tree | 2a63548b81b2c1d6bdfbe3c68b8b4c3989d5e700 /arch/x86/kvm/svm.c | |
parent | a2bcba5035bb3d7fb3099e1893026316365f4b5d (diff) | |
download | op-kernel-dev-a7c0b07d570848e50fce4d31ac01313484d6b844.zip op-kernel-dev-a7c0b07d570848e50fce4d31ac01313484d6b844.tar.gz |
KVM: nVMX: nested TPR shadow/threshold emulation
This patch fix bug https://bugzilla.kernel.org/show_bug.cgi?id=61411
TPR shadow/threshold feature is important to speed up the Windows guest.
Besides, it is a must feature for certain VMM.
We map virtual APIC page address and TPR threshold from L1 VMCS. If
TPR_BELOW_THRESHOLD VM exit is triggered by L2 guest and L1 interested
in, we inject it into L1 VMM for handling.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
[Add PAGE_ALIGNED check, do not write useless virtual APIC page address
if TPR shadowing is disabled. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions