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

Michal Privoznik mprivozn at redhat.com
Fri May 31 08:55:53 UTC 2019


On 5/31/19 10:06 AM, wangjie (P) wrote:
> Hi, Michal:
> 
>      Sorry, I don't think out which case make us to do that, what are 
> the risks? can you give me an example?

Well, qemuProcessKillManagedPRDaemon() not only kills pr-helper process 
but it also cleans up after it. If we receive DISCONNECTED event then 
qemu is probably unable to talk to pr-helper process even if it is 
running. It makes sense then to kill it and start a new one.
If it is not running then we might clean up after it.

Michal




More information about the libvir-list mailing list