[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250725220713.264711-10-seanjc@google.com>
Date: Fri, 25 Jul 2025 15:07:09 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Sean Christopherson <seanjc@...gle.com>
Subject: [GIT PULL] KVM: x86: Selftests changes for 6.17
Minor "quality of user life" selftests cleanups.
The following changes since commit 28224ef02b56fceee2c161fe2a49a0bb197e44f5:
KVM: TDX: Report supported optional TDVMCALLs in TDX capabilities (2025-06-20 14:20:20 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-selftests-6.17
for you to fetch changes up to 71443210e26de3b35aea8dced894ad3c420d55d5:
KVM: selftests: Print a more helpful message for EACCESS in access tracking test (2025-06-20 13:39:11 -0700)
----------------------------------------------------------------
KVM selftests changes for 6.17
- Fix a comment typo.
- Verify KVM is loaded when getting any KVM module param so that attempting to
run a selftest without kvm.ko loaded results in a SKIP message about KVM not
being loaded/enabled, versus some random parameter not existing.
- SKIP tests that hit EACCES when attempting to access a file, with a "Root
required?" help message. In most cases, the test just needs to be run with
elevated permissions.
----------------------------------------------------------------
Rahul Kumar (1):
KVM: selftests: Fix spelling of 'occurrences' in sparsebit.c comments
Sean Christopherson (4):
KVM: selftests: Verify KVM is loaded when getting a KVM module param
KVM: selftests: Add __open_path_or_exit() variant to provide extra help info
KVM: selftests: Play nice with EACCES errors in open_path_or_exit()
KVM: selftests: Print a more helpful message for EACCESS in access tracking test
.../selftests/kvm/access_tracking_perf_test.c | 7 ++-----
tools/testing/selftests/kvm/include/kvm_util.h | 1 +
.../testing/selftests/kvm/include/x86/processor.h | 6 +++++-
tools/testing/selftests/kvm/lib/kvm_util.c | 23 ++++++++++++++++++----
tools/testing/selftests/kvm/lib/sparsebit.c | 4 ++--
tools/testing/selftests/kvm/lib/x86/processor.c | 10 ----------
.../x86/vmx_exception_with_invalid_guest_state.c | 2 +-
7 files changed, 30 insertions(+), 23 deletions(-)
Powered by blists - more mailing lists