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