]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Use shadow TPR/cr8 for 64-bits guests
authorYang, Sheng <sheng.yang@intel.com>
Wed, 12 Sep 2007 10:03:11 +0000 (18:03 +0800)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:26 +0000 (10:18 +0200)
commit7ec51f846317999424bd2d87554ee38d7cc01f91
tree1b8133926578a16f8849143da5a7d5a6d9e67b24
parent784a42a3f8e6c7858b7c40578cd6afe9a84f7603
KVM: VMX: Use shadow TPR/cr8 for 64-bits guests

This patch enables TPR shadow of VMX on CR8 access. 64bit Windows using
CR8 access TPR frequently. The TPR shadow can improve the performance of
access TPR by not causing vmexit.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/irq.h
drivers/kvm/lapic.c
drivers/kvm/vmx.c
drivers/kvm/vmx.h