From e72b544a098f7a2698293c4eb07651160646574b Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 5 Apr 2017 14:01:46 +0200 Subject: [PATCH] qemu: monitor: No need to debug-log the 'mon' pointer QEMU_CHECK_MONITOR_* already logs the object and vm name --- src/qemu/qemu_monitor.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c index a4fa6eca64..2fc6192dc7 100644 --- a/src/qemu/qemu_monitor.c +++ b/src/qemu/qemu_monitor.c @@ -4194,8 +4194,6 @@ qemuMonitorMigrateIncoming(qemuMonitorPtr mon, int qemuMonitorMigrateStartPostCopy(qemuMonitorPtr mon) { - VIR_DEBUG("mon=%p", mon); - QEMU_CHECK_MONITOR_JSON(mon); return qemuMonitorJSONMigrateStartPostCopy(mon); @@ -4205,8 +4203,6 @@ int qemuMonitorGetRTCTime(qemuMonitorPtr mon, struct tm *tm) { - VIR_DEBUG("mon=%p", mon); - QEMU_CHECK_MONITOR_JSON(mon); return qemuMonitorJSONGetRTCTime(mon, tm); @@ -4216,8 +4212,6 @@ qemuMonitorGetRTCTime(qemuMonitorPtr mon, virHashTablePtr qemuMonitorQueryQMPSchema(qemuMonitorPtr mon) { - VIR_DEBUG("mon=%p", mon); - QEMU_CHECK_MONITOR_JSON_NULL(mon); return qemuMonitorJSONQueryQMPSchema(mon); @@ -4229,7 +4223,7 @@ qemuMonitorSetBlockThreshold(qemuMonitorPtr mon, const char *nodename, unsigned long long threshold) { - VIR_DEBUG("mon=%p, node='%s', threshold=%llu", mon, nodename, threshold); + VIR_DEBUG("node='%s', threshold=%llu", nodename, threshold); QEMU_CHECK_MONITOR_JSON(mon); @@ -4240,8 +4234,6 @@ qemuMonitorSetBlockThreshold(qemuMonitorPtr mon, virJSONValuePtr qemuMonitorQueryNamedBlockNodes(qemuMonitorPtr mon) { - VIR_DEBUG("mon=%p", mon); - QEMU_CHECK_MONITOR_JSON_NULL(mon); return qemuMonitorJSONQueryNamedBlockNodes(mon);