aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-06-30 18:32:29 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-07-05 19:21:05 +0200
commitbb20b86db9acb7a6f653fd40c45d46a9df6b2a75 (patch)
treeb52bd981317a5319f3e8cf8b7110ff44462a94c5 /docs
parentf6b560bbc1b0120d7737c0efb53f691828d82faa (diff)
downloadqemu-bb20b86db9acb7a6f653fd40c45d46a9df6b2a75.zip
qemu-bb20b86db9acb7a6f653fd40c45d46a9df6b2a75.tar.gz
qemu-bb20b86db9acb7a6f653fd40c45d46a9df6b2a75.tar.bz2
ui: Fix the "-display sdl,window_close=..." parameter
According to the QAPI schema, there is a "-" and not a "_" between "window" and "close", and we're also talking about "window-close" in the long parameter description in qemu-options.hx, so we should make sure that we rather use the variant with the "-" by default instead of only allowing the one with the "_" here. The old way still stays enabled for compatibility, but we deprecate it, so that we can switch to a QAPIfied parameter one day more easily. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210630163231.467987-3-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/system/deprecated.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/system/deprecated.rst b/docs/system/deprecated.rst
index e2e0090..bb624d3 100644
--- a/docs/system/deprecated.rst
+++ b/docs/system/deprecated.rst
@@ -126,6 +126,12 @@ other options have been processed. This will either have no effect (if
if they were not given. The property is therefore useless and should not be
specified.
+``-display sdl,window_close=...`` (since 6.1)
+'''''''''''''''''''''''''''''''''''''''''''''
+
+Use ``-display sdl,window-close=...`` instead (i.e. with a minus instead of
+an underscore between "window" and "close").
+
QEMU Machine Protocol (QMP) commands
------------------------------------