qemu-patch-raspberry4/scripts
Markus Armbruster db29164103 qapi: Implement deprecated-input=reject for QMP command arguments
This policy rejects deprecated input, and thus permits "testing the
future".  Implement it for QMP command arguments: reject commands with
deprecated ones.  Example: when QEMU is run with -compat
deprecated-input=reject, then

    {"execute": "eject", "arguments": {"device": "cd"}}

fails like this

    {"error": {"class": "GenericError", "desc": "Deprecated parameter 'device' disabled by policy"}}

When the deprecated parameter is removed, the error will change to

    {"error": {"class": "GenericError", "desc": "Parameter 'device' is unexpected"}}

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210318155519.1224118-11-armbru@redhat.com>
2021-03-19 16:05:11 +01:00
..
ci scripts/ci/gitlab-pipeline-status: give more info when pipeline not found 2021-03-09 06:03:53 +01:00
coccinelle scripts/coccinelle: New script to remove unnecessary timer_del() calls 2021-01-08 15:13:38 +00:00
codeconverter
coverity-scan
kvm
modules
oss-fuzz fuzz: add a script to build reproducers 2021-03-16 14:19:54 -04:00
performance
qapi qapi: Implement deprecated-input=reject for QMP command arguments 2021-03-19 16:05:11 +01:00
qemu-guest-agent
qemugdb scripts/gdb: implement 'qemu bt' 2021-01-12 12:38:03 +01:00
qmp docs: update to show preferred boolean syntax for -chardev 2021-02-25 14:14:33 +01:00
simplebench simplebench: add bench-backup.py 2021-01-26 14:36:37 +01:00
tracetool scripts/tracetool: Replace the word 'whitelist' 2021-03-09 22:14:26 +01:00
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py
analyze-inclusions
analyze-migration.py
archive-source.sh
block-coroutine-wrapper.py
check_sparse.py
checkpatch.pl checkpatch: don't emit warning on newly created acpi data files 2021-02-23 10:58:42 -05:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h compiler.h: remove QEMU_GNUC_PREREQ 2020-12-15 12:53:15 -05:00
coverity-model.c
decodetree.py decodetree: Open files with encoding='utf-8' 2021-01-13 08:39:08 -10:00
device-crash-test hw/scsi: remove 'scsi-disk' device 2021-03-18 09:22:55 +00:00
disas-objdump.pl
dump-guest-memory.py
entitlement.sh hvf: Sign the code after installation 2021-02-25 13:57:34 +01:00
extract-vsssdk-headers
feature_to_c.sh
fix-multiline-comments.sh docs: move CODING_STYLE into the developer documentation 2021-02-24 11:05:21 +00:00
gensyscalls.sh Hexagon (linux-user/hexagon) Linux user emulation 2021-02-18 07:48:22 -08:00
get_maintainer.pl get_maintainer: update repo URL to GitLab 2021-02-09 20:53:56 +00:00
git-submodule.sh configure: replace --enable/disable-git-update with --with-git-submodules 2021-01-29 17:07:53 +00:00
git.orderfile scripts/git.orderfile: Keep files with .inc extension sorted 2020-12-15 12:53:16 -05:00
hxtool
hxtool-conv.pl
kernel-doc scripts: kernel-doc: remove unnecessary change wrt Linux 2020-12-10 12:15:25 -05:00
make-release
meson.build
minikconf.py
mtest2make.py meson: Re-enable the possibility to run "make check SPEED=slow" 2021-03-09 06:03:53 +01:00
nsis.py
qapi-gen.py
qemu-binfmt-conf.sh linux-user: manage binfmt-misc preserve-arg[0] flag 2021-03-13 10:45:11 +01:00
qemu-gdb.py scripts/gdb: implement 'qemu bt' 2021-01-12 12:38:03 +01:00
qemu-trace-stap
qemu-version.sh
refresh-pxe-roms.sh
render_block_graph.py
replay-dump.py
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py simpletrace: build() missing 2 required positional arguments 2021-02-01 10:51:00 +00:00
switch-timer-api
tap-driver.pl
tap-merge.pl
test-driver.py
tracetool.py tracetool: add output filename command-line argument 2021-01-04 14:24:58 +00:00
u2f-setup-gen.py
undefsym.py
update-linux-headers.sh pvrdma: wean code off pvrdma_ring.h kernel header 2021-03-15 16:41:22 +08:00
update-mips-syscall-args.sh
update-syscalltbl.sh
userfaultfd-wrlat.py migration: introduce 'userfaultfd-wrlat.py' script 2021-02-08 11:19:51 +00:00
vmstate-static-checker.py