From 8178e6376f311a5691ab6122e15863faa9a1f008 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 30 Jan 2018 11:05:21 -0500 Subject: [PATCH] cpus: hvf: unregister thread with RCU Signed-off-by: Paolo Bonzini --- cpus.c | 1 + 1 file changed, 1 insertion(+) 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; }