diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:28 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:44 -0500 |
commit | ad196a9d0c14f681f010bb4b979030ec125ba976 (patch) | |
tree | 0655e9af27aee23adec993cdb971a8b8294bd27e /slirp/main.h | |
parent | 5db4af8bc8eb99333b0d2be1f88c943353361e50 (diff) |
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>
Diffstat (limited to 'slirp/main.h')
-rw-r--r-- | slirp/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slirp/main.h b/slirp/main.h index ed51385599..89e722f355 100644 --- a/slirp/main.h +++ b/slirp/main.h @@ -46,6 +46,8 @@ extern int tcp_keepintvl; extern uint8_t client_ethaddr[6]; extern const char *slirp_special_ip; extern int slirp_restrict; +extern char *tftp_prefix; +extern char *bootp_filename; #define PROTO_SLIP 0x1 #ifdef USE_PPP |