From 673584473c7cb1ada8317a93cd26151888c47d63 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 2 Feb 2018 12:10:11 +0100 Subject: vl: deprecate -no-frame Signed-off-by: Gerd Hoffmann Message-id: 20180202111022.19269-2-kraxel@redhat.com Signed-off-by: Gerd Hoffmann --- qemu-doc.texi | 7 +++++++ vl.c | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/qemu-doc.texi b/qemu-doc.texi index 56388b5b33..8e3556976b 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -2741,6 +2741,13 @@ filesystem test suite. Also it requires the CAP_DAC_READ_SEARCH capability, which is not the recommended way to run QEMU. This backend should not be used and it will be removed with no replacement. +@subsection -no-frame (since 2.12.0) + +The ``-no-frame'' argument works with SDL 1.2 only. SDL 2.0 lacks +support for frameless windows, and the other user interfaces never +implemented this in the first place. So this will be removed together +with SDL 1.2 support. + @section qemu-img command line arguments @subsection convert -s (since 2.0.0) diff --git a/vl.c b/vl.c index 81724f5f17..c1f763f3e1 100644 --- a/vl.c +++ b/vl.c @@ -2105,6 +2105,8 @@ static DisplayType select_display(const char *p) const char *nextopt; if (strstart(opts, ",frame=", &nextopt)) { + g_printerr("The frame= sdl option is deprecated, and will be\n" + "removed in a future release.\n"); opts = nextopt; if (strstart(opts, "on", &nextopt)) { no_frame = 0; @@ -3639,6 +3641,8 @@ int main(int argc, char **argv, char **envp) full_screen = 1; break; case QEMU_OPTION_no_frame: + g_printerr("The -no-frame switch is deprecated, and will be\n" + "removed in a future release.\n"); no_frame = 1; break; case QEMU_OPTION_alt_grab: -- cgit v1.2.3