]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit057cf38b3859f306c6f0c82ad97e4c411ca0fc0c
tree53a0ecd235eb3805293d3be074d72f9ecf57403f
parent0f261cb34ffb31f1a6258a80fd620199709fbdce
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