diff options
author | Sean Christopherson <[email protected]> | 2022-02-15 11:31:16 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-06-11 10:18:05 -0400 |
commit | 47a7c924b62de4b9d1752c1f5bc111c847229799 (patch) | |
tree | b94a4e579fe190cc455bd163c4f85ac6543819e5 /tools/testing/selftests/kvm/kvm_binary_stats_test.c | |
parent | 21c6ee2b3ac25b36cba22a2c725382ff7706dc95 (diff) |
KVM: selftests: Add vcpu_get() to retrieve and assert on vCPU existence
Add vcpu_get() to wrap vcpu_find() and deduplicate a pile of code that
asserts the requested vCPU exists.
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/kvm_binary_stats_test.c')
0 files changed, 0 insertions, 0 deletions