slirp: Rework external configuration interface
commitc92ef6a22d3c71538fcc48fb61ad353f7ba03b62
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:28 +0000 (24 14:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:45 +0000 (29 08:52 -0500)
tree867e01eb52981f2b493c745b5c0dadf97b492824
parenta13a4126c8b94355bbe43e47275b97ce5bef003c
slirp: Rework external configuration interface

With the internal IP configuration made more flexible, we can now
enhance the user interface. This patch adds a number of new options to
"-net user": net (address and mask), host, dhcpstart, dns and smbserver.
It also renames "redir" to "hostfwd" and "channel" to "guestfwd" in
order to (hopefully) clarify their meanings. The format of guestfwd is
extended so that the user can define not only the port but also the
virtual server's IP address the forwarding starts from.

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