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>
master
Adam Litke 2010-02-12 14:55:56 -06:00 committed by Anthony Liguori
parent 068b332a65
commit 5c366a8a3d
1 changed files with 1 additions and 0 deletions

View File

@ -2309,6 +2309,7 @@ static int do_info_balloon(Monitor *mon, MonitorCompletion cb, void *opaque)
return -1;
}
cb(opaque, NULL);
return 0;
}