Chris Wright f4828ca353 pciSharesBusWithActive fails to find multiple devices on bus
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)) <-----

The goal of that check is to verify that the device is either:

  in a different pci domain
  on a different bus
  is the same identical device

This means libvirt may issue a secondary bus reset when there are
devices
on that bus that actively in use by the host or another guest.

* src/util/pci.c: fix a bogus test in pciSharesBusWithActive()
2010-07-23 11:25:24 +02:00
..
2010-05-21 16:02:18 -06:00
2010-04-26 17:20:02 +02:00
2010-02-01 09:39:54 -05:00
2010-05-28 06:54:28 -06:00
2010-03-29 18:21:04 +02:00
2010-06-02 21:35:22 -04:00
2010-06-02 21:35:22 -04:00
2010-06-02 21:35:22 -04:00
2010-04-15 11:39:10 -06:00
2010-04-07 09:48:07 -06:00
2010-05-06 14:35:38 -06:00
2010-02-19 11:52:04 +01:00
2010-03-26 18:01:15 +00:00
2010-06-10 06:05:31 -06:00
2010-06-10 06:05:31 -06:00
2010-05-26 08:59:31 -04:00
2010-03-23 15:40:04 +01:00
2010-03-23 15:40:04 +01:00