diff options
author | Thomas Huth <thuth@redhat.com> | 2018-08-22 15:43:30 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2018-08-31 09:53:03 +0200 |
commit | d18572dd9a4ee3f66d205912edae4d87a58ec11f (patch) | |
tree | 9e8149ceb75cbeb5f78a4b19ddd3ef0fe881fdc4 /os-posix.c | |
parent | fdaf2d5885209634bf9d9f643cec5323efb4525c (diff) |
net: Remove the deprecated -tftp, -bootp, -redir and -smb options
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 <samuel.thibault@ens-lyon.org>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Acked-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'os-posix.c')
-rw-r--r-- | os-posix.c | 8 |
1 files changed, 0 insertions, 8 deletions
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) { |