Thanks,Michal
I understand what you mean, and I have sent the second patch “PATCH
v2”,please review it. :)
Jie
On 2019/5/31 16:55, Michal Privoznik wrote:
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