Re: [PATCH 08/26] qemu: Tweak index number checking

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

 



On 06/13/2017 06:22 AM, Andrea Bolognani wrote:
> On Mon, 2017-06-12 at 22:02 -0400, Laine Stump wrote:
>>> Moving the check and rewriting it this way doesn't alter
>>> the current behavior, but will allow us to special-case
>>> pci-root down the line.
>>
>> But this function should never be called for a controller with
>> model='pci-root'?
> 
> <spoilers>
>   It will, later on ;)
> </spoilers>
> 

Right. My brain is *slowly* waking up.

So ACK, or

Reviewed-by: Laine Stump <laine@xxxxxxxxx>

if you prefer.

(Looking back at that function, it could be made a lot more compact by
combining all the different models' checks for modelName != NONE as
well. Again, that's irrelevant to your patches).

--
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