mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
cpus: kvm: unregister thread with RCU
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
9857c2d2f7
commit
57615ed56c
1 changed files with 1 additions and 0 deletions
1
cpus.c
1
cpus.c
|
@ -1205,6 +1205,7 @@ static void *qemu_kvm_cpu_thread_fn(void *arg)
|
|||
cpu->created = false;
|
||||
qemu_cond_signal(&qemu_cpu_cond);
|
||||
qemu_mutex_unlock_iothread();
|
||||
rcu_unregister_thread();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue