diff options
author | 2019-12-18 13:55:29 -0800 | |
---|---|---|
committer | 2020-01-27 19:59:33 +0100 | |
commit | 9941d224fb7c765bc20f3cb6c747786adc5cd002 (patch) | |
tree | daadd4f59f88daaaed08c79e1bb5ba63e58b55ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: Drop kvm_arch_vcpu_init() and kvm_arch_vcpu_uninit() (diff) | |
download | linux-dev-9941d224fb7c765bc20f3cb6c747786adc5cd002.tar.xz linux-dev-9941d224fb7c765bc20f3cb6c747786adc5cd002.zip |
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 <christoffer.dall@arm.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions