diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-01-30 11:04:36 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-07 14:09:25 +0100 |
commit | 57615ed56c005ba0405420eb871f85fa1e5e563b (patch) | |
tree | 1cf6c2d735d809add8454ef60f9b72fc1e3dabe8 /cpus.c | |
parent | 9857c2d2f7fb09fe37d7a72b004b1f7bcf70248c (diff) | |
download | qemu-57615ed56c005ba0405420eb871f85fa1e5e563b.tar.gz |
cpus: kvm: unregister thread with RCU
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1205,6 +1205,7 @@ static void *qemu_kvm_cpu_thread_fn(void *arg) cpu->created = false; qemu_cond_signal(&qemu_cpu_cond); qemu_mutex_unlock_iothread(); + rcu_unregister_thread(); return NULL; } |