mirror of https://gitee.com/openkylin/libvirt.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 <pkrempa@redhat.com> Reviewed-by: Laine Stump <laine@laine.org>
This commit is contained in:
parent
a2a04524be
commit
d8306dce0f
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue