All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix hanging user monitor when using balloon command
@ 2010-02-12 20:55 Adam Litke
  2010-02-16 13:55 ` Daniel P. Berrange
  2010-02-19 21:47 ` Anthony Liguori
  0 siblings, 2 replies; 8+ messages in thread
From: Adam Litke @ 2010-02-12 20:55 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

Arghh... Adding missing S-O-B

Hi Anthony.  I wonder if there was a problem when importing my async
command handler patchset.  Since the 'balloon' command completes
immediately, it must call the completion callback before returning.
That call was missing but is added by the patch below.

Signed-off-by: Adam Litke <agl@us.ibm.com>

diff --git a/monitor.c b/monitor.c
index ae125b8..f94794d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2258,6 +2258,7 @@ static int do_balloon(Monitor *mon, const QDict *params,
         return -1;
     }
 
+    cb(opaque, NULL);
     return 0;
 }

-- 
Thanks,
Adam

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [Qemu-devel] [PATCH] Fix hanging user monitor when using balloon command
@ 2010-02-12 20:14 Adam Litke
  0 siblings, 0 replies; 8+ messages in thread
From: Adam Litke @ 2010-02-12 20:14 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

Hi Anthony.  I wonder if there was a problem when importing my async
command handler patchset.  Since the 'balloon' command completes
immediately, it must call the completion callback before returning.
That call was missing but is added by the patch below.

diff --git a/monitor.c b/monitor.c
index ae125b8..f94794d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2258,6 +2258,7 @@ static int do_balloon(Monitor *mon, const QDict *params,
         return -1;
     }
 
+    cb(opaque, NULL);
     return 0;
 }

-- 
Thanks,
Adam

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-08 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2010-02-12 20:14 Adam Litke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.