summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-16 22:07:09 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 18:47:05 +0300
commit682b11a012b85c18310a6798fe2509c55bf6563e (patch)
treec680670cd26152ac9fdbd4b36df124eebd27fddb /scripts/patch-kernel
parentf742d94ff4e5147e08b3bb7826f009eda7545124 (diff)
downloadlinux-682b11a012b85c18310a6798fe2509c55bf6563e.tar.xz
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 <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions