Re: [libvirt] [PATCH v3 1/2] libvirtd: fix crash on termination

2017-10-25 Thread John Ferlan
On 10/25/2017 04:24 AM, Nikolay Shirokovskiy wrote: > > > On 25.10.2017 11:07, John Ferlan wrote: >> >> >> On 10/24/2017 06:47 AM, Nikolay Shirokovskiy wrote: >>> The problem is incorrect order of qemu driver shutdown and shutdown >>> of netserver threads that serve client requests (thru qemu

Re: [libvirt] [PATCH v3 1/2] libvirtd: fix crash on termination

2017-10-25 Thread Nikolay Shirokovskiy
On 25.10.2017 11:07, John Ferlan wrote: > > > On 10/24/2017 06:47 AM, Nikolay Shirokovskiy wrote: >> The problem is incorrect order of qemu driver shutdown and shutdown >> of netserver threads that serve client requests (thru qemu driver >> particularly). >> >> Net server threads are

Re: [libvirt] [PATCH v3 1/2] libvirtd: fix crash on termination

2017-10-25 Thread John Ferlan
On 10/24/2017 06:47 AM, Nikolay Shirokovskiy wrote: > The problem is incorrect order of qemu driver shutdown and shutdown > of netserver threads that serve client requests (thru qemu driver > particularly). > > Net server threads are shutdowned upon dispose which is triggered > by last daemon

[libvirt] [PATCH v3 1/2] libvirtd: fix crash on termination

2017-10-24 Thread Nikolay Shirokovskiy
The problem is incorrect order of qemu driver shutdown and shutdown of netserver threads that serve client requests (thru qemu driver particularly). Net server threads are shutdowned upon dispose which is triggered by last daemon object unref at the end of main function. At the same time qemu