From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvyER-0006Nb-OW for qemu-devel@nongnu.org; Thu, 08 Oct 2009 15:00:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvyEK-0006IS-64 for qemu-devel@nongnu.org; Thu, 08 Oct 2009 15:00:52 -0400 Received: from [199.232.76.173] (port=52366 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvyEJ-0006I0-So for qemu-devel@nongnu.org; Thu, 08 Oct 2009 15:00:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20108) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvyEE-00073k-Vq for qemu-devel@nongnu.org; Thu, 08 Oct 2009 15:00:43 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n98J0fTP005462 for ; Thu, 8 Oct 2009 15:00:42 -0400 From: Mark McLoughlin Date: Thu, 8 Oct 2009 19:58:19 +0100 Message-Id: <1255028312-28180-4-git-send-email-markmc@redhat.com> In-Reply-To: <1255028312-28180-1-git-send-email-markmc@redhat.com> References: <1255028312-28180-1-git-send-email-markmc@redhat.com> Subject: [Qemu-devel] [PATCH 03/16] net: pass monitor handle to client init functions List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Mark McLoughlin Needed for e.g. looking up a file descriptor name using monitor_get_fd() in net_init_tap() Signed-off-by: Mark McLoughlin --- net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net.c b/net.c index e93017d..898b9af 100644 --- a/net.c +++ b/net.c @@ -3021,7 +3021,7 @@ int net_client_init(Monitor *mon, QemuOpts *opts) } if (net_client_types[i].init) { - return net_client_types[i].init(opts, NULL); + return net_client_types[i].init(opts, mon); } else { return 0; } -- 1.6.2.5