KVM: VMX: Enable memory mapped TPR shadow (FlexPriority)
authorSheng Yang <sheng.yang@intel.com>
Mon, 29 Oct 2007 01:40:42 +0000 (09:40 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:58 +0000 (17:52 +0200)
commitf78e0e2ee498e8f847500b565792c7d7634dcf54
treedfd8f35883b40939a1ec013e27e6303af06d3e77
parenta03490ed29d2771c675d4d9c0ffe22e19a1757f3
KVM: VMX: Enable memory mapped TPR shadow (FlexPriority)

This patch based on CR8/TPR patch, and enable the TPR shadow (FlexPriority)
for 32bit Windows.  Since TPR is accessed very frequently by 32bit
Windows, especially SMP guest, with FlexPriority enabled, we saw significant
performance gain.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/vmx.c
drivers/kvm/vmx.h