On Thu, Mar 13, 2014 at 09:26:16AM +0000, Wangrui (K) wrote:
>From 81de0ce710bad91a2df18247e681b5a83872b8d5 Mon Sep 17 00:00:00
2001
From: Wang Rui <moon.wangrui(a)huawei.com>
Date: Thu, 13 Mar 2014 17:05:03 +0000
Subject: [PATCH] hotplug:Fix log mistake in qemuMonitorAddNetdev
VIR_DEBUG in qemuMonitorAddNetdev should print vhostfdSize
Signed-off-by: Wang Rui <moon.wangrui(a)huawei.com>
---
src/qemu/qemu_monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index e4707b7..b2af0ae 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2781,7 +2781,7 @@ int qemuMonitorAddNetdev(qemuMonitorPtr mon,
VIR_DEBUG("mon=%p netdevstr=%s tapfd=%p tapfdName=%p tapfdSize=%d"
"vhostfd=%p vhostfdName=%p vhostfdSize=%d",
mon, netdevstr, tapfd, tapfdName, tapfdSize,
- vhostfd, vhostfdName, tapfdSize);
+ vhostfd, vhostfdName, vhostfdSize);
if (!mon) {
virReportError(VIR_ERR_INVALID_ARG, "%s",
--
1.8.3.4
ACK and pushed, thanks.
Martin