From d18572dd9a4ee3f66d205912edae4d87a58ec11f Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 22 Aug 2018 15:43:30 +0200 Subject: net: Remove the deprecated -tftp, -bootp, -redir and -smb options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These options likely do not work as expected as soon as the user tries to use more than one network interface at once. The parameters have been marked as deprecated since QEMU v2.6, so users had plenty of time to move their scripts to the new syntax. Time to remove the old parameters now. Reviewed-by: Samuel Thibault Acked-by: Peter Krempa Acked-by: Ján Tomko Signed-off-by: Thomas Huth --- include/net/net.h | 3 --- include/net/slirp.h | 4 ---- 2 files changed, 7 deletions(-) (limited to 'include') diff --git a/include/net/net.h b/include/net/net.h index 1425960..7936d53 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -201,9 +201,6 @@ extern NICInfo nd_table[MAX_NICS]; extern const char *host_net_devices[]; /* from net.c */ -extern const char *legacy_tftp_prefix; -extern const char *legacy_bootp_filename; - int net_client_parse(QemuOptsList *opts_list, const char *str); int net_init_clients(Error **errp); void net_check_clients(void); diff --git a/include/net/slirp.h b/include/net/slirp.h index 4d63d74..bad3e1e 100644 --- a/include/net/slirp.h +++ b/include/net/slirp.h @@ -30,10 +30,6 @@ void hmp_hostfwd_add(Monitor *mon, const QDict *qdict); void hmp_hostfwd_remove(Monitor *mon, const QDict *qdict); -int net_slirp_redir(const char *redir_str); - -int net_slirp_smb(const char *exported_dir); - void hmp_info_usernet(Monitor *mon, const QDict *qdict); #endif -- cgit v1.1