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 --- os-posix.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'os-posix.c') diff --git a/os-posix.c b/os-posix.c index 9ce6f74513..8f39447dd4 100644 --- a/os-posix.c +++ b/os-posix.c @@ -168,14 +168,6 @@ static bool os_parse_runas_uid_gid(const char *optarg) int os_parse_cmd_args(int index, const char *optarg) { switch (index) { -#ifdef CONFIG_SLIRP - case QEMU_OPTION_smb: - error_report("The -smb option is deprecated. " - "Please use '-netdev user,smb=...' instead."); - if (net_slirp_smb(optarg) < 0) - exit(1); - break; -#endif case QEMU_OPTION_runas: user_pwd = getpwnam(optarg); if (user_pwd) { -- cgit 1.4.1