mirror of
https://github.com/qemu/qemu.git
synced 2025-07-31 17:56:52 +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
cpus.c
1
cpus.c
@ -1205,6 +1205,7 @@ static void *qemu_kvm_cpu_thread_fn(void *arg)
|
|||||||
cpu->created = false;
|
cpu->created = false;
|
||||||
qemu_cond_signal(&qemu_cpu_cond);
|
qemu_cond_signal(&qemu_cpu_cond);
|
||||||
qemu_mutex_unlock_iothread();
|
qemu_mutex_unlock_iothread();
|
||||||
|
rcu_unregister_thread();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user