From: Paolo Bonzini Date: Tue, 30 Jan 2018 16:04:36 +0000 (-0500) Subject: cpus: kvm: unregister thread with RCU X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=57615ed56c005ba0405420eb871f85fa1e5e563b;p=qemu.git cpus: kvm: unregister thread with RCU Signed-off-by: Paolo Bonzini --- diff --git a/cpus.c b/cpus.c index 08a84628c1..1063dace88 100644 --- a/cpus.c +++ b/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; }