From: Paolo Bonzini Date: Tue, 30 Jan 2018 16:04:36 +0000 (-0500) Subject: cpus: kvm: unregister thread with RCU X-Git-Tag: v2.12.0-rc0~107^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57615ed56c005ba0405420eb871f85fa1e5e563b;p=thirdparty%2Fqemu.git cpus: kvm: unregister thread with RCU Signed-off-by: Paolo Bonzini --- diff --git a/cpus.c b/cpus.c index 08a84628c18..1063dace888 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; }