]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: monitor: Remove few debug statements
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Mar 2019 17:36:30 +0000 (18:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Apr 2019 09:58:10 +0000 (11:58 +0200)
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 <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
src/qemu/qemu_monitor_json.c

index 743a88b914e92594a235ac7186416a317182a7af..c7a7e3fa5653dcda6af96334e2e33c50a8a7e27f 100644 (file)
@@ -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",