From: Paolo Bonzini Date: Tue, 30 Jan 2018 16:05:21 +0000 (-0500) Subject: cpus: hvf: unregister thread with RCU X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8178e6376f311a5691ab6122e15863faa9a1f008;p=people%2Fpauldu%2Fqemu.git cpus: hvf: unregister thread with RCU Signed-off-by: Paolo Bonzini --- diff --git a/cpus.c b/cpus.c index 269d527938..fe127ac9cf 100644 --- a/cpus.c +++ b/cpus.c @@ -1541,6 +1541,7 @@ static void *qemu_hvf_cpu_thread_fn(void *arg) cpu->created = false; qemu_cond_signal(&qemu_cpu_cond); qemu_mutex_unlock_iothread(); + rcu_unregister_thread(); return NULL; }