aboutsummaryrefslogtreecommitdiff
path: root/qapi/compat.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2021-03-18 16:55:19 +0100
committerMarkus Armbruster <armbru@redhat.com>2021-03-19 16:05:11 +0100
commitdbb675c19aa6ca328f4449ccd1ff605f9cb744e9 (patch)
tree46076cd3efbda133cb6325b00ded0dd603260e88 /qapi/compat.json
parentdb29164103e53ae7c112086127e3d1c92b1d4d89 (diff)
downloadqemu-dbb675c19aa6ca328f4449ccd1ff605f9cb744e9.zip
qemu-dbb675c19aa6ca328f4449ccd1ff605f9cb744e9.tar.gz
qemu-dbb675c19aa6ca328f4449ccd1ff605f9cb744e9.tar.bz2
qapi: New -compat deprecated-input=crash
Policy "crash" calls abort() when deprecated input is received. Bugs in integration tests may mask the error from policy "reject". Provide a larger hammer: crash outright. Masking that seems unlikely. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20210318155519.1224118-12-armbru@redhat.com>
Diffstat (limited to 'qapi/compat.json')
-rw-r--r--qapi/compat.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi/compat.json b/qapi/compat.json
index fc24a58..ae3afc2 100644
--- a/qapi/compat.json
+++ b/qapi/compat.json
@@ -11,11 +11,12 @@
#
# @accept: Accept silently
# @reject: Reject with an error
+# @crash: abort() the process
#
# Since: 6.0
##
{ 'enum': 'CompatPolicyInput',
- 'data': [ 'accept', 'reject' ] }
+ 'data': [ 'accept', 'reject', 'crash' ] }
##
# @CompatPolicyOutput: