diff options
author | Thomas Huth <thuth@redhat.com> | 2022-05-19 17:56:25 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-06-03 08:03:28 +0200 |
commit | 707d93d4abc6485c638e2aecd93fbd904f2f6b3e (patch) | |
tree | 96f92568512f2df09559ad68bf794cd8d4ff8d05 /softmmu | |
parent | 9eafdeeac3513eb515c0e602fc56aa73353cf20d (diff) | |
download | qemu-707d93d4abc6485c638e2aecd93fbd904f2f6b3e.zip qemu-707d93d4abc6485c638e2aecd93fbd904f2f6b3e.tar.gz qemu-707d93d4abc6485c638e2aecd93fbd904f2f6b3e.tar.bz2 |
ui: Remove deprecated options "-sdl" and "-curses"
We have "-sdl" and "-curses", but no "-gtk" and no "-cocoa" ...
these old-style options are rather confusing than helpful nowadays.
Now that the deprecation period is over, let's remove them, so we
get a cleaner interface (where "-display" is the only way to select
the user interface).
Message-Id: <20220519155625.1414365-4-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/vl.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index 484e9d9..4c1e94b 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -2800,16 +2800,6 @@ void qemu_init(int argc, char **argv, char **envp) nographic = true; dpy.type = DISPLAY_TYPE_NONE; break; - case QEMU_OPTION_curses: - warn_report("-curses is deprecated, " - "use -display curses instead."); -#ifdef CONFIG_CURSES - dpy.type = DISPLAY_TYPE_CURSES; -#else - error_report("curses or iconv support is disabled"); - exit(1); -#endif - break; case QEMU_OPTION_portrait: graphic_rotate = 90; break; @@ -3176,15 +3166,6 @@ void qemu_init(int argc, char **argv, char **envp) dpy.has_full_screen = true; dpy.full_screen = true; break; - case QEMU_OPTION_sdl: - warn_report("-sdl is deprecated, use -display sdl instead."); -#ifdef CONFIG_SDL - dpy.type = DISPLAY_TYPE_SDL; - break; -#else - error_report("SDL support is disabled"); - exit(1); -#endif case QEMU_OPTION_pidfile: pid_file = optarg; break; |