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(a)redhat.com>
---
tests/qemumonitortestutils.c | 28 ++++++++++++++++++++++++++++
tests/qemumonitortestutils.h | 2 ++
2 files changed, 30 insertions(+)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano