diff options
| author | Sean Christopherson <[email protected]> | 2022-02-15 17:06:02 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-11 11:46:53 -0400 |
| commit | 28039449b83e21f741937e84d4fd6485ad4fb9f8 (patch) | |
| tree | ada9fa0d1e155158cdbd56e54cac79b390837933 /tools/perf/scripts/python | |
| parent | 42975c219975f5df0d686868e8b57698b2d09561 (diff) | |
KVM: selftests: Convert debug_regs away from VCPU_ID
Convert debug_regs to use vm_create_with_one_vcpu() and pass around a
'struct kvm_vcpu' object instead of using a global VCPU_ID.
Opportunstically drop the CLEAR_DEBUG/APPLY_DEBUG macros as they only
obfuscate the code, e.g. operating on local variables not "passed" to the
macro is all kinds of confusing.
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