diff options
| author | Sean Christopherson <[email protected]> | 2022-02-16 11:07:09 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-11 11:47:05 -0400 |
| commit | 682b11a012b85c18310a6798fe2509c55bf6563e (patch) | |
| tree | c680670cd26152ac9fdbd4b36df124eebd27fddb /tools/perf/scripts/python/stackcollapse.py | |
| parent | f742d94ff4e5147e08b3bb7826f009eda7545124 (diff) | |
KVM: selftests: Convert set_boot_cpu_id away from global VCPU_IDs
Rework set_boot_cpu_id to pass around 'struct kvm_vcpu' objects instead
of relying on global VCPU_IDs. The test is still ugly, but that's
unavoidable since the point of the test is to verify that KVM correctly
assigns VCPU_ID==0 to be the BSP by default. This is literally one of
two KVM selftests that legitimately needs to care about the exact vCPU
IDs of the vCPUs it creates.
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions