cpus: hvf: unregister thread with RCU

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2018-01-30 11:05:21 -05:00
parent 9b0605f983
commit 8178e6376f
1 changed files with 1 additions and 0 deletions

1
cpus.c
View File

@ -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;
}