提交 ab286fba 编写于 作者: N Nikolay Shirokovskiy 提交者: Michal Privoznik

qemu: reset await_event in all error paths in qemuAgentCommand

A fixup to patch [1]. We need to reset await_event in all
error paths.

[1] 52532073 : qemu: remove redundant needReply argument of qemuAgentCommand
Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
上级 aeb909bf
...@@ -1113,7 +1113,7 @@ qemuAgentCommand(qemuAgentPtr agent, ...@@ -1113,7 +1113,7 @@ qemuAgentCommand(qemuAgentPtr agent,
} }
if (qemuAgentGuestSync(agent) < 0) if (qemuAgentGuestSync(agent) < 0)
return -1; goto cleanup;
if (!(cmdstr = virJSONValueToString(cmd, false))) if (!(cmdstr = virJSONValueToString(cmd, false)))
goto cleanup; goto cleanup;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册