Messages in this thread | | | Date | Thu, 17 Aug 2023 13:53:31 -0700 | Subject | Re: [PATCH v6 3/6] KVM: selftests: Introduce __kvm_pmu_event_filter to improved event filter settings | From | Sean Christopherson <> |
| |
On Thu, Aug 10, 2023, Jinrong Liang wrote: > -static int run_filter_test(struct kvm_vcpu *vcpu, const uint64_t *events, > - int nevents, uint32_t flags) > +static int do_vcpu_set_pmu_event_filter(struct kvm_vcpu *vcpu, > + struct __kvm_pmu_event_filter *__f)
Just "set_pmu_event_filter()" please. The "do" is pointless, and the "vcpu" part is confusing since the filter is per-VM, the selftest just happens to pass around the vCPU. And to be consistent with set_pmu_single_event_filter().
No need for a new version, I'll fixup when applying.
| |