]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuhotplugtest: Make the test more useful by validating used commands against QMP...
authorPeter Krempa <pkrempa@redhat.com>
Thu, 9 Mar 2023 17:07:45 +0000 (18:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 3 Apr 2023 07:19:07 +0000 (09:19 +0200)
commit6eee2de99f70b9caf5dfecacb7440af9657be317
tree928a1ca6b4f2d08c3a533a748c4d43831c5cbc94
parent706cd474872c2876c9444e3285054780fc6dbaff
qemuhotplugtest: Make the test more useful by validating used commands against QMP schema

qemuhotplugtest validates only that a given command is used but not the
arguments of the command. With this patch we'll validate the arguments
against the QMP schema thus we can catch possible issues with deprecated
commands.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuhotplugtest.c