commit | 424a7f9674bb801c62b7855a8132d14ef25a36e1 | [log] [tgz] |
---|---|---|
author | Mark McLoughlin <markmc@redhat.com> | Thu Oct 22 17:43:36 2009 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Oct 27 12:29:00 2009 -0500 |
tree | 9f74f32c588de69e09a47bc637837fcff299abf8 | |
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>