From 5c366a8a3d7ac71beda8499caa815cb3ea95eb58 Mon Sep 17 00:00:00 2001 From: Adam Litke Date: Fri, 12 Feb 2010 14:55:56 -0600 Subject: [PATCH] Fix hanging user monitor when using balloon command 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 Signed-off-by: Anthony Liguori --- monitor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/monitor.c b/monitor.c index 6a64e6e218..b1a6edccff 100644 --- a/monitor.c +++ b/monitor.c @@ -2309,6 +2309,7 @@ static int do_info_balloon(Monitor *mon, MonitorCompletion cb, void *opaque) return -1; } + cb(opaque, NULL); return 0; } -- 2.11.4.GIT