]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: allocate the MSR permission map per VCPU
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 13 Feb 2008 17:58:46 +0000 (18:58 +0100)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:21 +0000 (11:53 +0300)
commit85c41163fdfa9123495aa7b9ab816637f535460e
tree0326e1e3e7a407c8271d2ae5427c300e6e741a39
parent0e7c9a5b99ccc872e0c70cddecd504663a12ab79
KVM: SVM: allocate the MSR permission map per VCPU

This patch changes the kvm-amd module to allocate the SVM MSR permission map
per VCPU instead of a global map for all VCPUs. With this we have more
flexibility allowing specific guests to access virtualized MSRs. This is
required for LBR virtualization.

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