diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-22 17:43:36 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:29:00 -0500 |
commit | 424a7f9674bb801c62b7855a8132d14ef25a36e1 (patch) | |
tree | 9f74f32c588de69e09a47bc637837fcff299abf8 /hw/mipsnet.c | |
parent | 8e0f8e5bf8fd483dd28329055336cf895b74c89f (diff) |
net: refactor tap initialization
Re-factor things so that there is only one call site for
net_tap_fd_init().
Two concerns about the QemuOpts usage here - firstly, we set the script
arguments to their default value and, secondly, we set the ifname value
to the name allocated by the kernel if none is supplied. Are we okay
with such things ending up in writeconfig output?
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mipsnet.c')
0 files changed, 0 insertions, 0 deletions