qga: Replace 'blacklist' command line and config file options by 'block-rpcs'

Let's use a more appropriate wording for this command line and config
file option. The old ones are still accepted for compatibility reasons,
but marked as deprecated now so that it could be removed in a future
version of QEMU.

This change is based on earlier patches from Philippe Mathieu-Daudé,
with the idea for the new option name suggested by BALATON Zoltan.

And while we're at it, replace the "?" in the help text with "help"
since that does not have the problem of conflicting with the wildcard
character of the shells.

Message-Id: <20220727092135.302915-2-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Thomas Huth 2022-07-27 11:21:33 +02:00
parent 7eab180f90
commit 582a098e6c
5 changed files with 38 additions and 11 deletions

View file

@ -79,10 +79,10 @@ Options
Daemonize after startup (detach from terminal).
.. option:: -b, --blacklist=LIST
.. option:: -b, --block-rpcs=LIST
Comma-separated list of RPCs to disable (no spaces, ``?`` to list
available RPCs).
Comma-separated list of RPCs to disable (no spaces, use ``help`` to
list available RPCs).
.. option:: -D, --dump-conf
@ -125,7 +125,7 @@ pidfile string
fsfreeze-hook string
statedir string
verbose boolean
blacklist string list
block-rpcs string list
============= ===========
See also