-
- Downloads
selftests: kvm/x86: Add test for KVM_SET_PMU_EVENT_FILTER
Verify that the PMU event filter works as expected. Note that the virtual PMU doesn't work as expected on AMD Zen CPUs (an intercepted rdmsr is counted as a retired branch instruction), but the PMU event filter does work. Signed-off-by:Jim Mattson <jmattson@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220115052431.447232-7-jmattson@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- tools/testing/selftests/kvm/.gitignore 1 addition, 0 deletionstools/testing/selftests/kvm/.gitignore
- tools/testing/selftests/kvm/Makefile 1 addition, 0 deletionstools/testing/selftests/kvm/Makefile
- tools/testing/selftests/kvm/x86_64/pmu_event_filter_test.c 438 additions, 0 deletionstools/testing/selftests/kvm/x86_64/pmu_event_filter_test.c
Loading
Please register or sign in to comment