Re: [Qemu-devel] [PATCH v2] vcpu: join vcpu thread after it exiting

2018-02-01 Thread Paolo Bonzini
On 01/02/2018 06:04, linzhecheng wrote: > As we create vcpu thread with QEMU_THREAD_JOINABLE mode, > we should join it after it exiting to cleanup resources. > > Signed-off-by: linzhecheng > > diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c > index f290f48..5cc1ba2 100644 > --- a/accel/kv

[Qemu-devel] [PATCH v2] vcpu: join vcpu thread after it exiting

2018-02-01 Thread linzhecheng
As we create vcpu thread with QEMU_THREAD_JOINABLE mode, we should join it after it exiting to cleanup resources. Signed-off-by: linzhecheng diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c index f290f48..5cc1ba2 100644 --- a/accel/kvm/kvm-all.c +++ b/accel/kvm/kvm-all.c @@ -282,9 +282,9 @