qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 5/6] cpus: hvf: unregister thread with RCU


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 5/6] cpus: hvf: unregister thread with RCU
Date: Thu, 1 Feb 2018 09:44:29 -0500

Signed-off-by: Paolo Bonzini <address@hidden>
---
 cpus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpus.c b/cpus.c
index 9f48ccad9e..03b4533b7d 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1542,6 +1542,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;
 }
 
-- 
2.14.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]