Commit 71443210 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: selftests: Print a more helpful message for EACCESS in access tracking test

Use open_path_or_exit() helper to probe /sys/kernel/mm/page_idle/bitmap in
the access tracking perf test so that a helpful/pertinent SKIP message is
printed if the file exists but is inaccessible, e.g. because the file has
the kernel's default 0600 permissions.

Cc: James Houghton <jthoughton@google.com>
Link: https://lore.kernel.org/r/20250516215909.2551628-5-seanjc@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent ba300a72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment