]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxmlconftest: Add support for validating schema for 'chardev-add'
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Sep 2024 08:50:06 +0000 (10:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 19 Sep 2024 08:30:14 +0000 (10:30 +0200)
commite00739ff0d960615494d72846122d6afe3cf2aa0
treeb7dc19fb4b047269c2ae7e8744f3725c9a50360d
parent36d06a5637ff59af74fce269f178ec0ac65d4182
qemuxmlconftest: Add support for validating schema for 'chardev-add'

While qemu doesn't yet support JSON args for chardev, we can at least
for test purposes of schema validation plumb it to the '-chardev'
command as it's easier to create test cases via XML than to write them
into code in 'qemuhotplugtest'.

Additionally once this becomes available and if e.g. the syntax is fixed
we'll be able to also catch the differences early.

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