diff options
| author | Sean Christopherson <[email protected]> | 2022-02-15 16:27:47 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-11 11:46:48 -0400 |
| commit | 21c602e671755765cde92dd5f07125c6ba8b8d03 (patch) | |
| tree | 32ef04c5c79428bd020f66d0bfbd5dcfd0672c58 /tools/perf/scripts/python | |
| parent | 706aaa4fedd9b028a3238221a8aba499b74d8f93 (diff) | |
KVM: selftests: Convert vmx_apic_access_test away from VCPU_ID
Convert vmx_apic_access_test to use vm_create_with_one_vcpu() and pass
around a 'struct kvm_vcpu' object instead of using a global VCPU_ID.
Opportunistically make the "vm" variable local, it is unused outside of
main().
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions