diff options
| author | Paolo Bonzini | 2018-01-30 17:04:36 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2018-02-07 14:09:25 +0100 |
| commit | 57615ed56c005ba0405420eb871f85fa1e5e563b (patch) | |
| tree | 1cf6c2d735d809add8454ef60f9b72fc1e3dabe8 /cpus.c | |
| parent | cpus: hax: register/unregister thread with RCU, exit loop on unplug (diff) | |
| download | qemu-57615ed56c005ba0405420eb871f85fa1e5e563b.tar.gz qemu-57615ed56c005ba0405420eb871f85fa1e5e563b.tar.xz qemu-57615ed56c005ba0405420eb871f85fa1e5e563b.zip | |
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; } |
