Re: [libvirt] [PATCH 1/5 v3] Added function pciSysfsFile to enable access to the PCI SYSFS files.

2012-01-10 Thread Daniel P. Berrange
On Wed, Dec 14, 2011 at 10:50:01AM +, Shradha Shah wrote: --- src/util/pci.c | 16 src/util/pci.h |2 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/util/pci.c b/src/util/pci.c index cd82b43..d0ba4c5 100644 --- a/src/util/pci.c +++

Re: [libvirt] [PATCH 1/5 v3] Added function pciSysfsFile to enable access to the PCI SYSFS files.

2012-01-10 Thread Eric Blake
On 01/10/2012 03:50 AM, Daniel P. Berrange wrote: On Wed, Dec 14, 2011 at 10:50:01AM +, Shradha Shah wrote: --- src/util/pci.c | 16 src/util/pci.h |2 ++ 2 files changed, 18 insertions(+), 0 deletions(-) In addition to Daniel's comments, +int

[libvirt] [PATCH 1/5 v3] Added function pciSysfsFile to enable access to the PCI SYSFS files.

2011-12-14 Thread Shradha Shah
--- src/util/pci.c | 16 src/util/pci.h |2 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/util/pci.c b/src/util/pci.c index cd82b43..d0ba4c5 100644 --- a/src/util/pci.c +++ b/src/util/pci.c @@ -2027,6 +2027,22 @@ out: } /* + * Returns a path to