KVM: x86: Add fixed counters to PMU filter
authorEric Hankland <ehankland@google.com>
Thu, 18 Jul 2019 18:38:18 +0000 (11:38 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 20 Jul 2019 07:00:48 +0000 (09:00 +0200)
commit30cd8604323dbaf20a80e797fe7057f5b02e394d
tree53a0ecd235eb3805293d3be074d72f9ecf57403f
parent88dddc11a8d6b09201b4db9d255b3394d9bc9e57
KVM: x86: Add fixed counters to PMU filter

Updates KVM_CAP_PMU_EVENT_FILTER so it can also whitelist or blacklist
fixed counters.

Signed-off-by: Eric Hankland <ehankland@google.com>
[No need to check padding fields for zero. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virtual/kvm/api.txt
arch/x86/include/uapi/asm/kvm.h
arch/x86/kvm/pmu.c