]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
docs/deprecated: deprecate passing plugin args through `arg=`
authorMahmoud Mandour <ma.mandourr@gmail.com>
Mon, 2 Aug 2021 13:44:14 +0000 (15:44 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 2 Sep 2021 10:29:34 +0000 (11:29 +0100)
Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Message-Id: <20210802134414.52037-1-ma.mandourr@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
[AJB: fixed up move of deprecated.rst]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
docs/about/deprecated.rst

index 1e1a5e96ad4c1e85a19178c026cdd85b39f7d3e0..6e88a84bbae1b4492702e74f4f22a709159d4c05 100644 (file)
@@ -139,6 +139,18 @@ The ``-no-quit`` is a synonym for ``-display ...,window-close=off`` which
 should be used instead.
 
 
+Plugin argument passing through ``arg=<string>`` (since 6.1)
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
+
+Passing TCG plugins arguments through ``arg=`` is redundant is makes the
+command-line less readable, especially when the argument itself consist of a
+name and a value, e.g. ``-plugin plugin_name,arg="arg_name=arg_value"``.
+Therefore, the usage of ``arg`` is redundant. Single-word arguments are treated
+as short-form boolean values, and passed to plugins as ``arg_name=on``.
+However, short-form booleans are deprecated and full explicit ``arg_name=on``
+form is preferred.
+
+
 QEMU Machine Protocol (QMP) commands
 ------------------------------------