[PATCH 18/21] qemu: Prepare for testing of 'netdev_add' props via qemuxml2argvtest

Eric Blake eblake at redhat.com
Mon May 18 15:44:37 UTC 2020


On 5/15/20 10:28 AM, Peter Krempa wrote:
> qemuxml2argv test suite is way more comprehensive than the hotplug
> suite. Since we share the code paths for monitor and command line
> hotplug we can easily test the properties of devices against the QAPI
> schema.
> 
> To achieve this we'll need to skip the JSON->commandline conversion for
> the test run so that we can analyze the pure properties. This patch adds
> flags for the comand line generator and hook them into the
> JSON->commandline convertor for -netdev. An upcoming patch will make use
> of this new infrastructure.
> 
> 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