Michael, I'm going to revive this topic one more time. I was working on v2 of my fixes to the suspend race bugs and really thought that the real problem is that the code shouldn't be that complex.
Basically, this series drops the automatic reaper and adds waitpid() calls & related logic to the suspend and shutdown functions. My objective with this RFC is to understand why this can't be done. Thanks. qemu-ga.c | 17 +------ qga/commands-posix.c | 136 ++++++++++++++++++++++---------------------------- 2 files changed, 60 insertions(+), 93 deletions(-)