From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Lin, Ray" <Ray.Lin@lsi.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"bruce.edge@gmail.com" <bruce.edge@gmail.com>
Subject: Re: PCI devices remap from dom0 to domU with pv-ops kernel
Date: Wed, 13 Oct 2010 14:51:49 -0400 [thread overview]
Message-ID: <20101013185149.GA14056@dumpdata.com> (raw)
In-Reply-To: <EB4C61A1A2501842A04B573FE42B14D601319D07DE@cosmail02.lsi.com>
On Wed, Oct 13, 2010 at 10:49:12AM -0600, Lin, Ray wrote:
>
> Konrad,
>
> We try to remap the pci devices from dom0 to domU by assigning the pci in the domU configuration file. Such as
>
> pci="['01:00.0@11', '01:00.1@10', '04:00.0@13', '04:00.1@12']"
>
> In hvm kernel, the domU would see the pci devices remapped like this,
>
> dom0 pci device 01:00.0 => domU pci device 00:11.0
> dom0 pci device 01:00.1 => domU pci device 00:10.0
> dom0 pci device 04:00.0 => domU pci device 00:13.0
> dom0 pci device 04:00.1 => domU pci device 00:12.0
>
> But pv-ops kernel seems ignore the remapping. Is there any way (kernel configuration setting ??) to make it work ?
Not completly.
When you compile your Xen PCI backend, you should see an option
whether you want Virtual PCI, Passthrough or some other type. By default
it will pick the Virtual one so that it just enumerates from
zero the PCI devices. You could write your own plugin that would
do remaping per your desire.
>
> Thanks,
> Ray
>
>
next prev parent reply other threads:[~2010-10-13 18:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 16:49 PCI devices remap from dom0 to domU with pv-ops kernel Lin, Ray
2010-10-13 18:51 ` Konrad Rzeszutek Wilk [this message]
2010-10-14 17:26 ` Lin, Ray
2010-10-14 17:49 ` Konrad Rzeszutek Wilk
2010-10-14 17:54 ` Lin, Ray
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=20101013185149.GA14056@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ray.Lin@lsi.com \
--cc=bruce.edge@gmail.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.