commit | 6912ac326d3aab9c0774ebec99f60a73fd04a520 | [log] [tgz] |
---|---|---|
author | Wei Huang <wei@redhat.com> | Fri Jun 12 01:34:56 2015 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 23 14:12:15 2015 +0200 |
tree | 80827ab0fe037da2e3f2d122e65ecdde2236f31d | |
parent | ca724305a2b02abcbecbf22577536fc8e965ab4f [diff] |
KVM: x86/vPMU: Enable PMU handling for AMD PERFCTRn and EVNTSELn MSRs This patch enables AMD guest VM to access (R/W) PMU related MSRs, which include PERFCTR[0..3] and EVNTSEL[0..3]. Reviewed-by: Joerg Roedel <jroedel@suse.de> Tested-by: Joerg Roedel <jroedel@suse.de> Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Wei Huang <wei@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>