]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Add function to recalculate intercept masks
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 30 Nov 2010 17:03:56 +0000 (18:03 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:08 +0000 (11:30 +0200)
commit8935c4a4fddc70044956384b3bebf6c5ac0e638f
tree72829294ce4e0a7e986deab41007f6796cd1829d
parent9fe5116ff02baab825a18e571ab7ac3a149c609c
KVM: SVM: Add function to recalculate intercept masks

This patch adds a function to recalculate the effective
intercepts masks when the vcpu is in guest-mode and either
the host or the guest intercept masks change.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c