Re: [PATCH 19/21] tests: qemuxml2argv: move DO_TEST qemuCaps init

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

 



On Thu, 2019-03-14 at 10:44 -0400, Cole Robinson wrote:
[...]
> +    if (gic && testQemuCapsSetGIC(info->qemuCaps, gic) < 0)
> +        goto cleanup;

Please change the first part of the condition to 'gic != GIC_NONE'
so that it doesn't implicitly rely on the actual value.

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