提交 93d67ee6 编写于 作者: A Adam Litke 提交者: Anthony Liguori

Fix hanging user monitor when using balloon command

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: 5c366a8a

The cb() call is needed in do_balloon(), not do_info_balloon().
Signed-off-by: NAdam Litke <agl@us.ibm.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 4e75b342
......@@ -2307,7 +2307,6 @@ static int do_info_balloon(Monitor *mon, MonitorCompletion cb, void *opaque)
return -1;
}
cb(opaque, NULL);
return 0;
}
......@@ -2330,6 +2329,7 @@ static int do_balloon(Monitor *mon, const QDict *params,
return -1;
}
cb(opaque, NULL);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册