aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-02-02 12:10:11 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-02-20 12:11:36 +0100
commit673584473c7cb1ada8317a93cd26151888c47d63 (patch)
tree59d677ce1424fc55423a79dbda70ae33db6ae6e2
parentafd3397a8149d8b645004e459bf2002d78f5e267 (diff)
vl: deprecate -no-frame
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180202111022.19269-2-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--qemu-doc.texi7
-rw-r--r--vl.c4
2 files changed, 11 insertions, 0 deletions
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: