[PATCH 05/15] qemumonitortestutils: Introduce qemuMonitorTestSkipDeprecatedValidation

Ján Tomko jtomko at redhat.com
Mon May 18 16:53:27 UTC 2020


On a Wednesday in 2020, Peter Krempa wrote:
>Upcoming patches will add validation which rejects objects with the
>'deprecated' feature in the QMP schema. To support tests which deal with
>legacy properties in case when a command or argument is marked as
>deprecated or removed by qemu qemuMonitorTestSkipDeprecatedValidation
>will allow configuring the tests to ignore such errors.
>
>In case of commands/features which are not yet replaced, the
>'allowRemoved' bool should not be set to provide a hard notification
>once qemu drops the command.
>
>Note that at this point 'allowRemoved' only includes whole commands, but
>not specific properties.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> tests/qemumonitortestutils.c | 28 ++++++++++++++++++++++++++++
> tests/qemumonitortestutils.h |  2 ++
> 2 files changed, 30 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200518/0858716e/attachment-0001.sig>


More information about the libvir-list mailing list