Re: [PATCH] pciSharesBusWithActive fails to find multiple devices on bus

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

 



On 07/22/2010 05:01 PM, Chris Wright wrote:
> The first conditional is always true which means the iterator will
> never find another device on the same bus.
> 
>     if (dev->domain != check->domain ||
>         dev->bus != check->bus ||
>   ----> (check->slot == check->slot &&
>          check->function == check->function)) <-----

Ouch.  ACK to the patch.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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