OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9844937
)
net: pass monitor handle to client init functions
author
Mark McLoughlin
<markmc@redhat.com>
Thu, 8 Oct 2009 18:58:19 +0000
(19:58 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 15 Oct 2009 14:32:00 +0000
(09:32 -0500)
Needed for e.g. looking up a file descriptor name using
monitor_get_fd() in net_init_tap()
Patchworks-ID: 35509
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
patch
|
blob
|
history
diff --git
a/net.c
b/net.c
index
e93017d
..
898b9af
100644
(file)
--- 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;
}