]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: disable CR8 intercept when tpr is not masking interrupts
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 16 Apr 2008 14:51:18 +0000 (16:51 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 15:21:43 +0000 (18:21 +0300)
commite7d88b810b9e2e7eb1e0210846c8bb4ddf67cef3
treeb8cbde694378ab340b4cc3ee2442ae87b9bb6096
parent1737c70e14663679c7be212f697dd9409762ac99
KVM: SVM: disable CR8 intercept when tpr is not masking interrupts

This patch disables the intercept of CR8 writes if the TPR is not masking
interrupts. This reduces the total number CR8 intercepts to below 1 percent of
what we have without this patch using Windows 64 bit guests.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c