From: Anthony Liguori <anthony@codemonkey.ws>
To: Adam Litke <agl@us.ibm.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix hanging user monitor when using balloon command
Date: Mon, 08 Mar 2010 11:05:25 -0600 [thread overview]
Message-ID: <4B952E55.5060206@codemonkey.ws> (raw)
In-Reply-To: <1266857480.3174.10.camel@aglitke>
On 02/22/2010 10:51 AM, Adam Litke wrote:
> This patch application failed. My patch adds a cb() call in
> do_balloon(), but the change in git has added the cb() call to
> do_info_balloon(). That is causing qemu segfaults. Applying the
> following should correct the damage. Thanks.
>
> Fix for commit: 5c366a8a3d7ac71beda8499caa815cb3ea95eb58
>
> The cb() call is needed in do_balloon(), not do_info_balloon().
>
> Signed-off-by: Adam Litke<agl@us.ibm.com>
>
Applied. Thanks.
Regards,
Anthony Liguori
> diff --git a/monitor.c b/monitor.c
> index b1a6edc..c7d2117 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -2309,7 +2309,6 @@ static int do_info_balloon(Monitor *mon, MonitorCompletion cb, void *opaque)
> return -1;
> }
>
> - cb(opaque, NULL);
> return 0;
> }
>
> @@ -2332,6 +2331,7 @@ static int do_balloon(Monitor *mon, const QDict *params,
> return -1;
> }
>
> + cb(opaque, NULL);
> return 0;
> }
>
>
>
>
>
next prev parent reply other threads:[~2010-03-08 17:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-12 20:55 [Qemu-devel] [PATCH] Fix hanging user monitor when using balloon command Adam Litke
2010-02-16 13:55 ` Daniel P. Berrange
2010-02-19 21:47 ` Anthony Liguori
2010-02-22 16:51 ` Adam Litke
2010-02-26 20:26 ` Luiz Capitulino
2010-02-26 20:44 ` Adam Litke
2010-03-08 17:05 ` Anthony Liguori [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-02-12 20:14 Adam Litke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B952E55.5060206@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=agl@us.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).