diff options
author | 2023-10-27 11:22:14 -0700 | |
---|---|---|
committer | 2023-11-14 08:01:08 -0500 | |
commit | e6f4f345b259cad178bad7e40a9d4b65cf195067 (patch) | |
tree | bc7015891ab8fed039ee8fa08c0ce3c3244c0477 /tools/perf/scripts/python/stackcollapse.py | |
parent | KVM: selftests: Add x86-only selftest for private memory conversions (diff) | |
download | wireguard-linux-e6f4f345b259cad178bad7e40a9d4b65cf195067.tar.xz wireguard-linux-e6f4f345b259cad178bad7e40a9d4b65cf195067.zip |
KVM: selftests: Add KVM_SET_USER_MEMORY_REGION2 helper
Add helpers to invoke KVM_SET_USER_MEMORY_REGION2 directly so that tests
can validate of features that are unique to "version 2" of "set user
memory region", e.g. do negative testing on gmem_fd and gmem_offset.
Provide a raw version as well as an assert-success version to reduce
the amount of boilerplate code need for basic usage.
Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Signed-off-by: Ackerley Tng <ackerleytng@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20231027182217.3615211-33-seanjc@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions