On 20. 3. 2020 8:16, Nikolay Shirokovskiy wrote: > A fixup to patch [1]. We need to reset await_event in all > error paths. > > [1] 52532073d : qemu: remove redundant needReply argument of qemuAgentCommand > > Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx> > --- > src/qemu/qemu_agent.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/qemu/qemu_agent.c b/src/qemu/qemu_agent.c > index 9ea2c59..6ff5b11 100644 > --- a/src/qemu/qemu_agent.c > +++ b/src/qemu/qemu_agent.c > @@ -1113,7 +1113,7 @@ qemuAgentCommand(qemuAgentPtr agent, > } > > if (qemuAgentGuestSync(agent) < 0) > - return -1; > + goto cleanup; > > if (!(cmdstr = virJSONValueToString(cmd, false))) > goto cleanup; > Ooops :-) Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx> and pushed. Michal