[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] qemu-ga: guest-suspend: make the API synchr
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] qemu-ga: guest-suspend: make the API synchronous |
Date: |
Mon, 14 May 2012 09:30:37 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 05/14/2012 08:56 AM, Michael Roth wrote:
> From: Luiz Capitulino <address@hidden>
>
> Currently, qemu-ga has a SIGCHLD handler that automatically reaps terminated
> children processes. The idea is to avoid having qemu-ga commands blocked
> waiting for children to terminate.
>
> This commit does just that. There's a side effect though, guest-shutdown
> will generate zombies if shutting down fails. This will be fixed by the
> next commit.
>
> Signed-off-by: Luiz Capitulino <address@hidden>
> Signed-off-by: Michael Roth <address@hidden>
> ---
> qemu-ga.c | 17 +------
> qga/commands-posix.c | 128
> +++++++++++++++++++++-----------------------------
> 2 files changed, 55 insertions(+), 90 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature