Re: [libvirt] [PATCH] libvirtd: fix potential deadlock when reloading

2018-03-12 Thread Daniel P . Berrangé
On Thu, Mar 08, 2018 at 03:25:51PM -0700, Jim Fehlig wrote: > It is possible to deadlock libvirtd when concurrently starting a domain > and restarting the daemon. Threads involved in the deadlock are > > Thread 4 (Thread 0x7fc13b53e700 (LWP 64084)): > #0 0x7fc13fba10bf in pthread_cond_wait@@G

[libvirt] [PATCH] libvirtd: fix potential deadlock when reloading

2018-03-08 Thread Jim Fehlig
It is possible to deadlock libvirtd when concurrently starting a domain and restarting the daemon. Threads involved in the deadlock are Thread 4 (Thread 0x7fc13b53e700 (LWP 64084)): #0 0x7fc13fba10bf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x7fc14310213c in vi