FYI, at least on my Fedora 10 system, "make check" gets one failure:
52) QEMU XML-2-ARGV hostdev-pci-address ... Failed
to open file '/sys/bus/pci/devices/0000:06:12.5/vendor': No such file or
directory
Failed to open file '/sys/bus/pci/devices/0000:06:12.5/device': No such file or
directory
libvir: error : this function is not supported by the hypervisor: Failed to read
product/vendor ID for 0000:06:12.5
FAILED
It's true, the containing directory doesn't exist:
$ ls -1 /sys/bus/pci/devices/0000*
/sys/bus/pci/devices/0000:00:00.0@
/sys/bus/pci/devices/0000:00:02.0@
/sys/bus/pci/devices/0000:00:02.1@
/sys/bus/pci/devices/0000:00:03.0@
/sys/bus/pci/devices/0000:00:19.0@
/sys/bus/pci/devices/0000:00:1a.0@
/sys/bus/pci/devices/0000:00:1a.1@
/sys/bus/pci/devices/0000:00:1a.2@
/sys/bus/pci/devices/0000:00:1a.7@
/sys/bus/pci/devices/0000:00:1b.0@
/sys/bus/pci/devices/0000:00:1c.0@
/sys/bus/pci/devices/0000:00:1c.1@
/sys/bus/pci/devices/0000:00:1c.2@
/sys/bus/pci/devices/0000:00:1c.3@
/sys/bus/pci/devices/0000:00:1c.4@
/sys/bus/pci/devices/0000:00:1d.0@
/sys/bus/pci/devices/0000:00:1d.1@
/sys/bus/pci/devices/0000:00:1d.2@
/sys/bus/pci/devices/0000:00:1d.7@
/sys/bus/pci/devices/0000:00:1e.0@
/sys/bus/pci/devices/0000:00:1f.0@
/sys/bus/pci/devices/0000:00:1f.2@
/sys/bus/pci/devices/0000:00:1f.3@
/sys/bus/pci/devices/0000:03:00.0@
/sys/bus/pci/devices/0000:06:00.0@
/sys/bus/pci/devices/0000:06:03.0@
$ readlink /sys/bus/pci/devices/0000:00:1c.4
../../../devices/pci0000:00/0000:00:1c.4
I'll look into it in about 30 minutes.
Show replies by date