diff mbox series

[PULL,34/47] cpus: hvf: unregister thread with RCU

Message ID 1517858941-5538-35-git-send-email-pbonzini@redhat.com
State New
Headers show
Series [PULL,01/47] memory: update comments and fix some typos | expand

Commit Message

Paolo Bonzini Feb. 5, 2018, 7:28 p.m. UTC
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 cpus.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/cpus.c b/cpus.c
index 269d527..fe127ac 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;
 }