[PATCH 11/21] testCompareXMLToArgv: Split out preparation and command formatting

Eric Blake eblake at redhat.com
Mon May 18 14:50:45 UTC 2020


On 5/15/20 10:27 AM, Peter Krempa wrote:
> There are multiple steps of setting up the domain definition prior to
> formatting the command line for the tests. Extract it to a separate
> function so that it's self-contained and also will allow re-running the
> command line formatting which will be necessary for QMP schema
> validation tests.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   tests/qemuxml2argvtest.c | 158 +++++++++++++++++++++------------------
>   1 file changed, 86 insertions(+), 72 deletions(-)
> 

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