mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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] 52532073d
: qemu: remove redundant needReply argument of qemuAgentCommand
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
aeb909bf9b
commit
ab286fba92
@ -1113,7 +1113,7 @@ qemuAgentCommand(qemuAgentPtr agent,
|
||||
}
|
||||
|
||||
if (qemuAgentGuestSync(agent) < 0)
|
||||
return -1;
|
||||
goto cleanup;
|
||||
|
||||
if (!(cmdstr = virJSONValueToString(cmd, false)))
|
||||
goto cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user