xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Gordan Bobic <gordan@bobich.net>
To: xen-devel@lists.xenproject.org
Subject: Nvidia GPU passthrough and Device IDs
Date: Thu, 28 Nov 2013 11:21:28 +0000	[thread overview]
Message-ID: <e70d1d3b6ba66bfa9373bf5e6924cf72@mail.shatteredsilicon.net> (raw)

 This has recently come to my attention:

 http://www.nvidia.com/object/user-selectable-machines.html

 along with this snippet of information:

 - Physical Function PCIid: 10ed:11bf - GK104GL [GRID K2]
 - Virtual Function selectable from
 PCIid: 10ed:118b - GK104 [GeForce K2 USM]
 PCIid: 10ed:118c - GK104 [NVS K2 USM]
 PCIid: 10ed: 11b0 - GK104GL [Quadro K2 USM]
 PCIid: 10ed:11b1 - GK104GL [Tesla K2 USM]

 The way this reads to me is that it means that a different
 device ID is exposed to domU than what runs on the host.

 Therefore, it must be possible to change the device ID
 visible to domU to something other than what is visible
 on the host.

 So, as per a question that has recently been asked, is
 there a way to apply a software shim to expose a different
 device ID to the domU when doing PCI passthrough? This
 might completely avoid the need to modify the GeForce
 cards in ways discussed here recently to make them
 work in PCI passthrough mode by simply faking the
 device ID exposed.

 Gordan

             reply	other threads:[~2013-11-28 11:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28 11:21 Gordan Bobic [this message]
2013-11-28 11:27 ` Nvidia GPU passthrough and Device IDs Andrew Cooper
2013-11-28 11:29   ` Gordan Bobic
2013-12-02 21:06     ` Konrad Rzeszutek Wilk

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=e70d1d3b6ba66bfa9373bf5e6924cf72@mail.shatteredsilicon.net \
    --to=gordan@bobich.net \
    --cc=xen-devel@lists.xenproject.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).