summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-06-30 15:56:16 -0700
committerSean Christopherson <seanjc@google.com>2026-07-08 13:41:13 -0700
commitc33aef581703cb41e2a4900c258018bc7aa1ff54 (patch)
treea9b4232994eac12495fbcb5cfdb8475376339e32 /tools/perf/scripts/python/bin
parente34be29ecd47f5dcc27a90bf1563ae1da96555a7 (diff)
KVM: x86: Treat a vCPU as unreachable if its index is invalid
In the "vCPU locked or unreachable" lockdep assertion, treat a vCPU as unreachable if its index is invalid, i.e. if the vCPU is in the process of being created. Until the vCPU is inserted into the array of vCPUs, the only way to get at the vCPU is via kvm_vm_ioctl_create_vcpu(). Note, the actual index is set _before_ adding the vCPU to the array, i.e. there's no risk of a false negative on the lockdep assertion. Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Link: https://patch.msgid.link/20260630225619.511632-10-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions