[Xen-devel] [PATCH][1/3] XenAPI: Add Physical PCI Device (PPCI) Support

Yosuke Iwamatsu
Wed, 02 Jul 2008 11:36:51 -0000

Add support for PPCI class, which represents physical pci devices.
This makes it possible for remote servers to get information about
devices the host contains.

Here is the fields for PPCI class.
-----------------------------
(RO_run) host
         domain
         bus
         slot
         func
         name
         vendor_id
         vendor_name
         device_id
         device_name
         revision_id
         class_code
         class_name
         subsystem_vendor_id
         subsystem_vendor_name
         subsystem_id
         subsystem_name
         driver
------------------------------

One thing to be noted; this patch uses ''lspci'' command to
obtain
information (such as vendor_name, device_name, class_name etc) which
we cannot get from sysfs. If ''lspci'' command does not exist,
these
fields will be just left blank.

Regards,
-----------------------
Yosuke Iwamatsu
        NEC Corporation


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com