WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH][1/3] XenAPI: Add Physical PCI Device (PPCI) Support
From: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Date: Wed, 02 Jul 2008 20:36:51 +0900
Cc:
Delivery-date: Wed, 02 Jul 2008 04:37:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
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

Attachment: xenapi_ppci.patch
Description: all/allfiles

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][1/3] XenAPI: Add Physical PCI Device (PPCI) Support, Yosuke Iwamatsu <=