[0/2] KVM: selftests: Report enable_pmu module value when test is skipped

Message ID 20230214084920.59787-1-likexu@tencent.com
Headers
Series KVM: selftests: Report enable_pmu module value when test is skipped |

Message

Like Xu Feb. 14, 2023, 8:49 a.m. UTC
  Adequate info can help developers quickly distinguish whether the cause
is a code flaw or a platform limitation when a test fails or is skipped,
and this minor patch-set is doing a little work in that direction.

Base: kvm-x86/next

Like Xu (2):
  KVM: selftests: Add a helper to read kvm boolean module parameters
  KVM: selftests: Report enable_pmu module value when test is skipped

 tools/testing/selftests/kvm/include/kvm_util_base.h        | 1 +
 tools/testing/selftests/kvm/lib/kvm_util.c                 | 5 +++++
 tools/testing/selftests/kvm/x86_64/pmu_event_filter_test.c | 1 +
 3 files changed, 7 insertions(+)
  

Comments

Sean Christopherson March 24, 2023, 8:58 p.m. UTC | #1
On Tue, 14 Feb 2023 16:49:18 +0800, Like Xu wrote:
> Adequate info can help developers quickly distinguish whether the cause
> is a code flaw or a platform limitation when a test fails or is skipped,
> and this minor patch-set is doing a little work in that direction.
> 
> Base: kvm-x86/next
> 
> Like Xu (2):
>   KVM: selftests: Add a helper to read kvm boolean module parameters
>   KVM: selftests: Report enable_pmu module value when test is skipped
> 
> [...]

Applied to kvm-x86 selftests, thanks!

[1/2] KVM: selftests: Add a helper to read kvm boolean module parameters
      https://github.com/kvm-x86/linux/commit/d14d9139c023
[2/2] KVM: selftests: Report enable_pmu module value when test is skipped
      https://github.com/kvm-x86/linux/commit/6cf332e8eca6

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes
  
Sean Christopherson March 24, 2023, 9:25 p.m. UTC | #2
On Fri, Mar 24, 2023, Sean Christopherson wrote:
> On Tue, 14 Feb 2023 16:49:18 +0800, Like Xu wrote:
> > Adequate info can help developers quickly distinguish whether the cause
> > is a code flaw or a platform limitation when a test fails or is skipped,
> > and this minor patch-set is doing a little work in that direction.
> > 
> > Base: kvm-x86/next
> > 
> > Like Xu (2):
> >   KVM: selftests: Add a helper to read kvm boolean module parameters
> >   KVM: selftests: Report enable_pmu module value when test is skipped
> > 
> > [...]
> 
> Applied to kvm-x86 selftests, thanks!
> 
> [1/2] KVM: selftests: Add a helper to read kvm boolean module parameters
>       https://github.com/kvm-x86/linux/commit/d14d9139c023
> [2/2] KVM: selftests: Report enable_pmu module value when test is skipped
>       https://github.com/kvm-x86/linux/commit/6cf332e8eca6

Replaced patch 2 with your v2:

  KVM: selftests: Report enable_pmu module value when test is skipped
  https://github.com/kvm-x86/linux/commit/5b1abc285a08