[libvirt] [PATCH] pciSharesBusWithActive fails to find multiple devices on bus
Eric Blake
eblake at redhat.com
Thu Jul 22 23:17:35 UTC 2010
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100722/11fc0547/attachment-0001.sig>
More information about the libvir-list
mailing list