diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-07-28 11:32:45 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-07-29 08:36:44 -0400 |
commit | b4733cd5be1a284cd92840f3126e4165ab34460c (patch) | |
tree | 42348e882aecfa03838a345113f768032fae37e6 /tools/testing/selftests/kvm/include/kvm_util.h | |
parent | 89400f0687a44f6fabacd10e9aa5cad0e15803c9 (diff) | |
parent | 71443210e26de3b35aea8dced894ad3c420d55d5 (diff) |
Merge tag 'kvm-x86-selftests-6.17' of https://github.com/kvm-x86/linux into HEAD
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.
Diffstat (limited to 'tools/testing/selftests/kvm/include/kvm_util.h')
-rw-r--r-- | tools/testing/selftests/kvm/include/kvm_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kvm/include/kvm_util.h b/tools/testing/selftests/kvm/include/kvm_util.h index e18d4bb1372f..23a506d7eca3 100644 --- a/tools/testing/selftests/kvm/include/kvm_util.h +++ b/tools/testing/selftests/kvm/include/kvm_util.h @@ -256,6 +256,7 @@ struct vm_guest_mode_params { }; extern const struct vm_guest_mode_params vm_guest_mode_params[]; +int __open_path_or_exit(const char *path, int flags, const char *enoent_help); int open_path_or_exit(const char *path, int flags); int open_kvm_dev_path_or_exit(void); |