Skip to content

KVM vPMU code refine

Dapeng Mi kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: x86/pmu: Define KVM_PMC_MAX_GENERIC for platform independencearch/x86/include/asm/kvm_host.h arch/x86/kvm/svm/pmu.c arch/x86/kvm/vmx/pmu_intel.c+8 -53 replies
2/2selftests: kvm: Reduce verbosity of "Random seed" messagestools/testing/selftests/kvm/lib/kvm_util.c+1 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM vPMU code refine

This small patchset refines KVM vPMU code and relevant selftests. Patch 1/2 defines new macro KVM_PMC_MAX_GENERIC to avoid the Intel specific macro KVM_INTEL_PMC_MAX_GENERIC to be used in vPMU x86 common code. Patch 2/2 reduces the verbosity of "Random seed" messages to avoid the hugh number of messages to flood the regular output of selftests.

No logic change in this patchset and Kselftests/KUT PMU related tests passed with this patchset.

Dapeng Mi (2):
KVM: x86/pmu: Define KVM_PMC_MAX_GENERIC for platform independence
selftests: kvm: Reduce verbosity of "Random seed" messages

 arch/x86/include/asm/kvm_host.h            | 9 +++++----
 arch/x86/kvm/svm/pmu.c                     | 2 +-
 arch/x86/kvm/vmx/pmu_intel.c               | 2 ++
 tools/testing/selftests/kvm/lib/kvm_util.c | 2 +-
 4 files changed, 9 insertions(+), 6 deletions(-)

base-commit: 0ce958282e66b3d1882e2bb2f503a5e2cebcc3ef

Signature · 1 line
2.34.1