summaryrefslogtreecommitdiffstats
path: root/qapi/qapi-dealloc-visitor.h
diff options
context:
space:
mode:
authorLuiz Capitulino2012-05-11 21:19:47 +0200
committerMichael Roth2012-05-15 16:15:16 +0200
commitd5dd3498ebf4d6dc8661f6a9a69ae10b50f3a6a6 (patch)
tree2d2a2469aabbf488974ae92f09129a83eb3b583a /qapi/qapi-dealloc-visitor.h
parentqemu-ga: guest-suspend: make the API synchronous (diff)
downloadqemu-d5dd3498ebf4d6dc8661f6a9a69ae10b50f3a6a6.tar.gz
qemu-d5dd3498ebf4d6dc8661f6a9a69ae10b50f3a6a6.tar.xz
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 'qapi/qapi-dealloc-visitor.h')
0 files changed, 0 insertions, 0 deletions