diff options
author | Chao Peng <[email protected]> | 2023-10-27 11:22:14 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2023-11-14 08:01:08 -0500 |
commit | e6f4f345b259cad178bad7e40a9d4b65cf195067 (patch) | |
tree | bc7015891ab8fed039ee8fa08c0ce3c3244c0477 /tools/perf/scripts/python/task-analyzer.py | |
parent | 43f623f350ce1c46c53b6b77f4dbe741af8c44f3 (diff) |
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 <[email protected]>
Signed-off-by: Ackerley Tng <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Fuad Tabba <[email protected]>
Tested-by: Fuad Tabba <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions