]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
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)
commitf65c229c3e7743c6654c16b9ec6248466b5eef21
tree0326e1e3e7a407c8271d2ae5427c300e6e741a39
parente6101a96c9efb74c98bba6322d4c5ea89e47e0fe
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