From: Mahmoud Mandour Date: Mon, 2 Aug 2021 13:44:14 +0000 (+0200) Subject: docs/deprecated: deprecate passing plugin args through `arg=` X-Git-Tag: qemu-xen-4.17.0-rc4~347^2~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=67f145745fc2187f0c5b5df72794e9efcfd0533d;p=qemu-xen.git docs/deprecated: deprecate passing plugin args through `arg=` Signed-off-by: Mahmoud Mandour Message-Id: <20210802134414.52037-1-ma.mandourr@gmail.com> Reviewed-by: Alex Bennée [AJB: fixed up move of deprecated.rst] Signed-off-by: Alex Bennée --- diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index 1e1a5e96ad..6e88a84bba 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -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=`` (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 ------------------------------------