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