aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-12-18 13:55:29 -0800
committerPaolo Bonzini <[email protected]>2020-01-27 19:59:33 +0100
commit9941d224fb7c765bc20f3cb6c747786adc5cd002 (patch)
treedaadd4f59f88daaaed08c79e1bb5ba63e58b55ea /scripts/gdb/linux/tasks.py
parentddd259c9aaba08244dba8877687ee856f79c4f45 (diff)
KVM: Move putting of vcpu->pid to kvm_vcpu_destroy()
Move the putting of vcpu->pid to kvm_vcpu_destroy(). vcpu->pid is guaranteed to be NULL when kvm_vcpu_uninit() is called in the error path of kvm_vm_ioctl_create_vcpu(), e.g. it is explicitly nullified by kvm_vcpu_init() and is only changed by KVM_RUN. No functional change intended. Acked-by: Christoffer Dall <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions