[PATCH 0/2] KVM: x86: Enabling PMU v3 on non-SMT VMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch-set enables PMU v3 on non-SMT VMs. All the PMU v3 features are
already in KVM except the AnyThread support.  However, AnyThread is only
important on SMT machines, and can be ignored otherwise. Reporting PMU v3 can
be useful for OSes that rely on the version, and not on other CPUID fields.

Thanks for reviewing the code. Note that it was not tested on AMD machine.

Nadav Amit (2):
  KVM: x86: Clarify PMU related features bit manipulation
  KVM: x86: pmu: Enabling PMU v3

 arch/x86/include/asm/kvm_host.h |  1 +
 arch/x86/kvm/cpuid.c            |  2 +-
 arch/x86/kvm/pmu.c              | 35 +++++++++++++++++++++++------------
 arch/x86/kvm/svm.c              | 15 +++++++++++++++
 arch/x86/kvm/vmx.c              | 16 ++++++++++++++++
 5 files changed, 56 insertions(+), 13 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux