[libvirt] [PATCH] hotplug:Fix log mistake in qemuMonitorAddNetdev

Martin Kletzander mkletzan at redhat.com
Thu Mar 13 10:48:20 UTC 2014


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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140313/6eef4fa6/attachment-0001.sig>


More information about the libvir-list mailing list