]> Git Repo - qemu.git/commitdiff
cpus: hvf: unregister thread with RCU
authorPaolo Bonzini <[email protected]>
Tue, 30 Jan 2018 16:05:21 +0000 (11:05 -0500)
committerPaolo Bonzini <[email protected]>
Wed, 7 Feb 2018 13:09:25 +0000 (14:09 +0100)
Signed-off-by: Paolo Bonzini <[email protected]>
cpus.c

diff --git a/cpus.c b/cpus.c
index 269d52793881bdac2ee3e0a27fa9b390b8c9972c..fe127ac9cf741890b417eac88584f6297375d290 100644 (file)
--- 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;
 }
 
This page took 0.023515 seconds and 4 git commands to generate.