Re: [PATCH v2 2/4] tests: qemuxml2argv: move DO_CAPS_TEST* qemuCaps init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2019-03-21 at 15:55 -0400, Cole Robinson wrote:
[...]
> +        if (!(qemuCaps = qemuTestParseCapabilitiesArch(virArchFromString(capsarch),
> +                                                       capsfile)))
> +            goto cleanup;

I'd put curly brackets around the body here.

[...]
> +        if (testInfoSetArgs(&info, capslatest, \
> +                            ARG_CAPS_ARCH, arch, \
> +                            ARG_CAPS_VER, ver, \
> +                            __VA_ARGS__, ARG_END) < 0) \

I'd put ARG_END on its own line both here...

[...]
> +        if (testInfoSetArgs(&info, capslatest, \
> +                            __VA_ARGS__, QEMU_CAPS_LAST, ARG_END) < 0) \

... and here.


Regardless of whether or not you decide to make those tweaks,

  Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux