提交 b925e662 编写于 作者: L Lin Ma 提交者: Peter Krempa

virsh: Error out while domain not found for 'qemu-monitor-event' command

Signed-off-by: NLin Ma <lma@suse.com>
上级 b04629b6
......@@ -9661,7 +9661,9 @@ cmdQemuMonitorEvent(vshControl *ctl, const vshCmd *cmd)
return false;
if (vshCommandOptBool(cmd, "domain"))
dom = virshCommandOptDomain(ctl, cmd, NULL);
if (!(dom = virshCommandOptDomain(ctl, cmd, NULL)))
goto cleanup;
if (vshEventStart(ctl, timeout) < 0)
goto cleanup;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册