[PATCH v1 0/3] PEBS virtualization enabling via DS in Qemu

Luwei Kang posted 3 patches 4 years, 2 months ago
Failed in applying to current master (apply log)
hw/i386/pc.c          |  1 +
target/i386/cpu.c     | 14 ++++++++++++++
target/i386/cpu.h     | 15 +++++++++++++++
target/i386/kvm.c     | 43 +++++++++++++++++++++++++++++++++++++++++++
target/i386/machine.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 122 insertions(+)
[PATCH v1 0/3] PEBS virtualization enabling via DS in Qemu
Posted by Luwei Kang 4 years, 2 months ago
The PEBS virtualization will be first supported on ICELAKE server.
This patchset introduce a new CPU parameter "pebs"(e.g.
"-cpu Icelake-Server,pmu=true,pebs=true") that use for enable PEBS
feature in KVM guest, and add the support for save/load PEBS MSRs.

Luwei Kang (3):
  i386: Add "pebs" parameter to enable PEBS feature
  i386: Add support for save/load PEBS MSRs
  i386: Add support for save/load IA32_PEBS_DATA_CFG MSR

 hw/i386/pc.c          |  1 +
 target/i386/cpu.c     | 14 ++++++++++++++
 target/i386/cpu.h     | 15 +++++++++++++++
 target/i386/kvm.c     | 43 +++++++++++++++++++++++++++++++++++++++++++
 target/i386/machine.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 122 insertions(+)

-- 
1.8.3.1