From: Peter Krempa Date: Tue, 26 Mar 2019 17:36:30 +0000 (+0100) Subject: qemu: monitor: Remove few debug statements X-Git-Tag: v5.3.0-rc1~294 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8306dce0f33568dc0f1af760047180f7ab668fd;p=thirdparty%2Flibvirt.git qemu: monitor: Remove few debug statements The internal qemu machinery already logs the sent message via the PROBE point in qemuMonitorSend and the monitor receive function. Those are way better as they are easy grepable. Remove the additional ones from the monitor code which just duplicate the sent data. Signed-off-by: Peter Krempa Reviewed-by: Laine Stump --- diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index 743a88b914..c7a7e3fa56 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -301,14 +301,8 @@ qemuMonitorJSONCommandWithFd(qemuMonitorPtr mon, msg.txLength = strlen(msg.txBuffer); msg.txFD = scm_fd; - VIR_DEBUG("Send command '%s' for write with FD %d", cmdstr, scm_fd); - ret = qemuMonitorSend(mon, &msg); - VIR_DEBUG("Receive command reply ret=%d rxObject=%p", - ret, msg.rxObject); - - if (ret == 0) { if (!msg.rxObject) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s",