All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
To: xen-devel@lists.xensource.com, xen-api@lists.xensource.com
Subject: [PATCH][1/3] XenAPI: Add Physical PCI Device (PPCI) Support
Date: Wed, 02 Jul 2008 20:36:51 +0900	[thread overview]
Message-ID: <486B6853.30302@ab.jp.nec.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

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 #2: xenapi_ppci.patch --]
[-- Type: all/allfiles, Size: 17745 bytes --]

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

                 reply	other threads:[~2008-07-02 11:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=486B6853.30302@ab.jp.nec.com \
    --to=y-iwamatsu@ab.jp.nec.com \
    --cc=xen-api@lists.xensource.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.