slirp: Move smb, redir, tftp and bootp parameters and -net channel
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:28 +0000 (14:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:44 +0000 (08:52 -0500)
commit3754eda8ba56eab1bdef4c80c55c724f24e1131e
tree0655e9af27aee23adec993cdb971a8b8294bd27e
parentcabfc146cd3a8ff9f30bb2cfe8df7caeb3fc5112
slirp: Move smb, redir, tftp and bootp parameters and -net channel

So far a couple of slirp-related parameters were expressed via
stand-alone command line options. This it inconsistent and unintuitive.
Moreover, it prevents both dynamically reconfigured (host_net_add/
delete) and multi-instance slirp.

This patch refactors the configuration by turning -smb, -redir, -tftp
and -bootp as well as -net channel into options of "-net user". The old
stand-alone command line options are still processed, but no longer
advertised. This allows smooth migration of management applications to
to the new syntax and also the extension of that syntax later in this
series.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
net.h
qemu-options.hx
slirp/bootp.c
slirp/libslirp.h
slirp/main.h
slirp/slirp.c
slirp/tftp.c
vl.c