]> git.karo-electronics.de Git - linux-beck.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)
commit384c636843971c8ebbffd1cc8881e3184cbd23e2
tree72829294ce4e0a7e986deab41007f6796cd1829d
parentfc3a9157d3148ab91039c75423da8ef97be3e105
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