slirp: Make hostfwd_add/remove multi-instance-aware
commitf13b572cb38ec8c74a0670b3554d48e7cbf20b4b
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:32 +0000 (24 14:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:50 +0000 (29 08:52 -0500)
treec454e5e7149f11d10212105a63171166333dd25e
parent1a609520277c65a2b00bbbcca360f482e257d64d
slirp: Make hostfwd_add/remove multi-instance-aware

Extend the syntax of hostfwd_add/remove to optionally take a tuple of
VLAN ID and slirp stack name. If those are omitted, the commands will
continue to work on the first registered slirp stack.

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