mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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>
This commit is contained in:
parent
36d06a5637
commit
e00739ff0d
@ -504,6 +504,7 @@ static const struct testValidateSchemaCommandData commands[] = {
|
||||
{ "-netdev", "netdev_add", false },
|
||||
{ "-object", "object-add", false },
|
||||
{ "-device", "device_add", true },
|
||||
{ "-chardev", "chardev-add", false },
|
||||
};
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user