slirp: Enable multi-instance support for the smb service
commit28432466f3a80e4d267754f426436c92c58921b5
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:31 +0000 (24 14:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:50 +0000 (29 08:52 -0500)
tree901219891f4dbf161b347c44f788b77d4d74a697
parent492efabd47d225998f8391e4d31b233915bf79a5
slirp: Enable multi-instance support for the smb service

Push the smb state, smb_dir, into SlirpState and construct it in a way
that allows multiple smb instances (one per slirp stack). Remove the smb
directory on slirp cleanup instead of qemu termination. As VLAN clients
are also cleaned up on process termination, no feature is lost.

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