[PATCH v4 0/6] KVM: selftests: Add "instructions required" testcase

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

 



This is the selftests portion of Aaron's series[*] to fix incorrect
"instructions required" counting.  The big change from v3 is to use a
common struct to copy counter values to/from the guest instead of smushing
the values into a single 64-bit value.

[*] https://lkml.kernel.org/r/20230307141400.1486314-1-aaronlewis%40google.com

Aaron Lewis (4):
  KVM: selftests: Add a common helper for the PMU event filter guest
    code
  KVM: selftests: Add helpers for PMC asserts in PMU event filter test
  KVM: selftests: Print detailed info in PMU event filter asserts
  KVM: selftests: Test the PMU event "Instructions retired"

Sean Christopherson (2):
  KVM: selftests: Use error codes to signal errors in PMU event filter
    test
  KVM: selftests: Copy full counter values from guest in PMU event
    filter test

 .../kvm/x86_64/pmu_event_filter_test.c        | 252 ++++++++++--------
 1 file changed, 140 insertions(+), 112 deletions(-)


base-commit: b821bf96cf3bed0c1c8d34659299a3a1dc47218d
-- 
2.40.0.577.gac1e443424-goog




[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