diff options
author | Jim Mattson <jmattson@google.com> | 2022-01-14 21:24:31 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-01-19 12:12:16 -0500 |
commit | bef9a701f3ebfb60da259b04778d24128505a96c (patch) | |
tree | 26776a47c3dc2e0057212c0a635a0658c28e26bd /arch/x86/kvm/svm/svm.c | |
parent | 2ba9047424fc7243c63ac57f5fdfa754aa895e3c (diff) | |
download | lwn-bef9a701f3ebfb60da259b04778d24128505a96c.tar.gz lwn-bef9a701f3ebfb60da259b04778d24128505a96c.zip |
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>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
0 files changed, 0 insertions, 0 deletions