qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 03/16] net: pass monitor handle to client init funct


From: Mark McLoughlin
Subject: [Qemu-devel] [PATCH 03/16] net: pass monitor handle to client init functions
Date: Thu, 8 Oct 2009 19:58:19 +0100

Needed for e.g. looking up a file descriptor name using
monitor_get_fd() in net_init_tap()

Signed-off-by: Mark McLoughlin <address@hidden>
---
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]