From: Peter Krempa Date: Thu, 20 Mar 2025 15:17:54 +0000 (+0100) Subject: qemuAgentCheckError: Rewort error if neither return nor error is found X-Git-Tag: v11.2.0-rc1~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ab9c74df94e9b37cfce2d1481f307a81c5b228a;p=thirdparty%2Flibvirt.git qemuAgentCheckError: Rewort error if neither return nor error is found Disambiguate the case from other types of error. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_agent.c b/src/qemu/qemu_agent.c index d4eb4897a4..ee0921eca6 100644 --- a/src/qemu/qemu_agent.c +++ b/src/qemu/qemu_agent.c @@ -1013,7 +1013,7 @@ qemuAgentCheckError(virJSONValue *cmd, VIR_DEBUG("Neither 'return' nor 'error' is set in the JSON reply %s: %s", NULLSTR(cmdstr), NULLSTR(replystr)); virReportError(VIR_ERR_INTERNAL_ERROR, - _("unable to execute QEMU agent command '%1$s'"), + _("QEMU agent command '%1$s' returned neither error nor success"), qemuAgentCommandName(cmd)); return -1; }