Re: [libvirt] [PATCH 04/11] util: Add util to find PCI device address by its vendor and product IDs

2013-06-19 Thread John Ferlan
On 06/07/2013 01:03 PM, Osier Yang wrote: As the first user of virTraverseDirectory, it falls through to the 2 depth from /sys/devices, and returns the address of the PCI device of which both vendor and device have the specified value. See the test for an example. Two patches ago we the

Re: [libvirt] [PATCH 04/11] util: Add util to find PCI device address by its vendor and product IDs

2013-06-19 Thread Osier Yang
On 19/06/13 23:03, John Ferlan wrote: On 06/07/2013 01:03 PM, Osier Yang wrote: As the first user of virTraverseDirectory, it falls through to the 2 depth from /sys/devices, and returns the address of the PCI device of which both vendor and device have the specified value. See the test for an

[libvirt] [PATCH 04/11] util: Add util to find PCI device address by its vendor and product IDs

2013-06-07 Thread Osier Yang
As the first user of virTraverseDirectory, it falls through to the 2 depth from /sys/devices, and returns the address of the PCI device of which both vendor and device have the specified value. See the test for an example. --- src/libvirt_private.syms | 1 +