aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorAdam Litke <agl@us.ibm.com>2010-02-12 14:55:56 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-19 15:32:15 -0600
commit5c366a8a3d7ac71beda8499caa815cb3ea95eb58 (patch)
treec498eb10139ea86fe10082ac7026c8782029bd83 /monitor.c
parent068b332a6517b082b67b50f62f38f1952329d201 (diff)
downloadqemu-5c366a8a3d7ac71beda8499caa815cb3ea95eb58.zip
qemu-5c366a8a3d7ac71beda8499caa815cb3ea95eb58.tar.gz
qemu-5c366a8a3d7ac71beda8499caa815cb3ea95eb58.tar.bz2
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 <agl@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 6a64e6e..b1a6edc 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;
}