summary refs log tree commit diff stats
path: root/hw/usb-net.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-22 17:43:36 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:29:00 -0500
commit424a7f9674bb801c62b7855a8132d14ef25a36e1 (patch)
tree9f74f32c588de69e09a47bc637837fcff299abf8 /hw/usb-net.c
parent8e0f8e5bf8fd483dd28329055336cf895b74c89f (diff)
downloadfocaccia-qemu-424a7f9674bb801c62b7855a8132d14ef25a36e1.tar.gz
focaccia-qemu-424a7f9674bb801c62b7855a8132d14ef25a36e1.zip
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/usb-net.c')
0 files changed, 0 insertions, 0 deletions