]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: VMX: Advertise CPU_BASED_RDPMC_EXITING for nested guests
authorStefan Bader <stefan.bader@canonical.com>
Thu, 9 Aug 2012 09:33:12 +0000 (12:33 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 19 Aug 2012 17:15:28 +0000 (18:15 +0100)
commit6929d33d596f654d9bc9fbe840112a2f687f99c3
tree854c23f6bb48fb8c80cd34fe8bf17a1cfb5e4c86
parent840ba4a248e09231cbdc5e9ac769a1f83bee4748
KVM: VMX: Advertise CPU_BASED_RDPMC_EXITING for nested guests

Based on commit fee84b079d5ddee2247b5c1f53162c330c622902 upstream.

  Intercept RDPMC and forward it to the PMU emulation code.

Newer vmx support will only allow to load the kvm_intel module
if RDPMC_EXITING is supported. Even without the actual support
this part of the change is required on 3.2 hosts.

BugLink: http://bugs.launchpad.net/bugs/1031090
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/x86/kvm/vmx.c