[libvirt] [PATCH] util: ignore SIGPIPE when writingtostderr/stdout

wang.yechao255 at zte.com.cn wang.yechao255 at zte.com.cn
Mon Oct 14 12:03:03 UTC 2019


> At this point you are int he child QEMU process.
>
> virFork resets all signal handlers back to their default setting so that
> libvirtd's choice of signals doesn't impact the child process.
>
> Perhaps the right answer is to use pthread_sigmask to block SIGPIPE
> until just before we execve

Thanks,  I'll push another patch later.

---
Best wishes
Wang Yechao


More information about the libvir-list mailing list