Re: [PATCH] KVM: x86: Add fixed counters to PMU filter

2019-07-19 Thread Paolo Bonzini
On 18/07/19 20:38, Eric Hankland wrote: > From: ehankland > > Updates KVM_CAP_PMU_EVENT_FILTER so it can also whitelist or blacklist > fixed counters. > > Signed-off-by: ehankland Very nice, thanks. There's no need to check the padding for zero (flags can be defined to give specific meanings

Re: [PATCH] KVM: x86: Add fixed counters to PMU filter

2019-07-19 Thread Wei Wang
On 07/19/2019 02:38 AM, Eric Hankland wrote: From: ehankland Updates KVM_CAP_PMU_EVENT_FILTER so it can also whitelist or blacklist fixed counters. Signed-off-by: ehankland --- Documentation/virtual/kvm/api.txt | 13 - arch/x86/include/uapi/asm/kvm.h | 9 ++---

[PATCH] KVM: x86: Add fixed counters to PMU filter

2019-07-18 Thread Eric Hankland
From: ehankland Updates KVM_CAP_PMU_EVENT_FILTER so it can also whitelist or blacklist fixed counters. Signed-off-by: ehankland --- Documentation/virtual/kvm/api.txt | 13 - arch/x86/include/uapi/asm/kvm.h | 9 ++--- arch/x86/kvm/pmu.c| 30