Re: [libvirt] [PATCH v2] qemu: fix pr-helper0 remain

2019-06-13 Thread wangjie (P)
Ping On 2019/5/31 15:33, Jie Wang wrote: If libvirt receive DISCONNECTED event and set prDaemonRunning to false, and qemuDomainRemoveDiskDevice is performing in the meantime. qemuDomainRemoveDiskDevice will return directly by prDaemonRunning check, so the pr-helper0 object will remain. In that c

[libvirt] [PATCH v2] qemu: fix pr-helper0 remain

2019-05-31 Thread Jie Wang
If libvirt receive DISCONNECTED event and set prDaemonRunning to false, and qemuDomainRemoveDiskDevice is performing in the meantime. qemuDomainRemoveDiskDevice will return directly by prDaemonRunning check, so the pr-helper0 object will remain. In that case we should try harder and also kill the p