[PATCH 21/21] qemuxml2argvtest: Add QAPI/QMP schema validation for -blockdev and -netdev

Eric Blake eblake at redhat.com
Mon May 18 15:50:56 UTC 2020


On 5/15/20 10:28 AM, Peter Krempa wrote:
> Our hotplug test cases are weak in comparison to the xml2arvtest. Use

xml2argvtest

> all the the data to also valiadte the arguments for -netdev and

validate

> -blockdev against the appropriate commands of the QMP schema.
> 
> Note that currently it's done just for the _CAPS versions of tests but
> commenting out a line in the test file allows to validate even cases
> which don't use real capabilities.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list