diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-09-10 16:55:53 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-22 07:28:37 -0700 |
| commit | c3e48c166e35a5031df811459c96c303a2774cc1 (patch) | |
| tree | 7cfe0bbd623bb98911f2929b94fa472f58e7acae /tools/perf/scripts/python/bin | |
| parent | ee455183c92be7661ab08eedd68cd2bed0874975 (diff) | |
KVM: selftests: Add selftests global for guest memory attributes capability
Add a global variable, kvm_has_gmem_attributes, to make the result of
checking for KVM_CAP_GUEST_MEMFD_MEMORY_ATTRIBUTES available to all tests.
kvm_has_gmem_attributes is true if guest_memfd tracks memory attributes, as
opposed to VM-level tracking.
This global variable is synced to the guest for testing convenience, to
avoid introducing subtle bugs when host/guest state is desynced.
Signed-off-by: Ackerley Tng <ackerleytng@google.com>
Tested-by: Shivank Garg <shivankg@amd.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Yan Zhao <yan.y.zhao@intel.com>
Link: https://patch.msgid.link/20260910-gmem-inplace-conversion-v13-27-dd6fbf94f4e1@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
