qapi: New -compat deprecated-input=crashpull-qapi-2021-03-16-v4
commitdbb675c19aa6ca328f4449ccd1ff605f9cb744e9
authorMarkus Armbruster <armbru@redhat.com>
Thu, 18 Mar 2021 15:55:19 +0000 (18 16:55 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 19 Mar 2021 15:05:11 +0000 (19 16:05 +0100)
tree46076cd3efbda133cb6325b00ded0dd603260e88
parentdb29164103e53ae7c112086127e3d1c92b1d4d89
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>
qapi/compat.json
qapi/qmp-dispatch.c
qapi/qobject-input-visitor.c
qemu-options.hx