« Previous | Next » 

Revision b8e8af38

IDb8e8af38ee4a4d516e75c64d1c3fbcf9a81d00e4

Added by Jan Kiszka almost 15 years ago

slirp: Reorder initialization

This patch reorders the initialization of slirp itself as well as its
associated features smb and redirection. So far the first reference to
slirp triggered the initialization, independent of the actual -net user
option which may carry additional parameters. Now we save any request to
add a smb export or some redirections until the actual initialization of
the stack. This also allows to move a few parameters that were passed
via global variable into the argument list of net_slirp_init.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Mark McLoughlin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences