diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-05-11 16:19:47 -0300 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2012-05-15 09:15:16 -0500 |
commit | d5dd3498ebf4d6dc8661f6a9a69ae10b50f3a6a6 (patch) | |
tree | 2d2a2469aabbf488974ae92f09129a83eb3b583a /ia64.ld | |
parent | dc8764f06155a7b3e635e02281b747a9e292127e (diff) | |
download | qemu-d5dd3498ebf4d6dc8661f6a9a69ae10b50f3a6a6.zip |
qemu-ga: guest-shutdown: become synchronous
Last commit dropped qemu-ga's SIGCHLD handler, used to automatically
reap terminated children processes. This introduced a bug to
qmp_guest_shutdown(): it will generate zombies.
This problem probably doesn't matter in the success case, as the VM
will shutdown anyway, but let's do the right thing and reap the
created process. This ultimately means that guest-shutdown is now a
synchronous command.
An interesting side effect is that guest-shutdown is now able to
report an error to the client if shutting down fails.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'ia64.ld')
0 files changed, 0 insertions, 0 deletions