From: Bruce Richardson <bruce.richardson@intel.com>
To: Jason Wang <jasowang@redhat.com>
Cc: Thanneeru Srinivasulu <dev.srinivasulu@gmail.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] Query : Does Binding with vfio-pci is supported inside qemu-kvm guest/vm instance.?
Date: Tue, 12 Mar 2019 10:20:10 +0000 [thread overview]
Message-ID: <20190312102009.GA932176@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <fd1e74ae-4bae-c8ff-36a1-730cc61ccb48@redhat.com>
On Tue, Mar 12, 2019 at 05:54:39PM +0800, Jason Wang wrote:
>
> On 2019/3/12 下午5:42, Thanneeru Srinivasulu wrote:
> > Thanks Bruce..
> >
> > On Tue, Mar 12, 2019 at 3:08 PM Bruce Richardson
> > <bruce.richardson@intel.com> wrote:
> > > On Tue, Mar 12, 2019 at 10:57:55AM +0530, Thanneeru Srinivasulu wrote:
> > > > Hi Everyone.
> > > >
> > > > I did attached pice to Guest VM using vfio-pci with qemu command, and then
> > > > tried binding the pcie bdf with vfio-pci, observing binding failure with
> > > > vfio-pci.
> > > >
> > > > Where as when tryied with igb_uio, everything works fine.
> > > >
> > > > Does Binding with vfio-pci is supported inside VM/guest?
> > > >
> > > vfio support requires the presence of an IOMMU, and you generally don't
> > > have an IOMMU available in a VM.
> > >
> > > /Bruce
>
>
> Actually, Qemu support vIOMMU + VFIO in guest[1], all you need is to add a
> intel IOMMU and enabling caching mode.
>
> Thanks
>
>
> [1]
>
> https://www.lfasiallc.com/wp-content/uploads/2017/11/Device-Assignment-with-Nested-Guests-and-DPDK_Peter-Xu.pdf
>
Thanks for the info.
/Bruce
next prev parent reply other threads:[~2019-03-12 10:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-12 5:27 Thanneeru Srinivasulu
2019-03-12 9:38 ` Bruce Richardson
2019-03-12 9:42 ` Thanneeru Srinivasulu
2019-03-12 9:54 ` Jason Wang
2019-03-12 10:20 ` Bruce Richardson [this message]
2019-03-12 10:57 ` Burakov, Anatoly
[not found] ` <CGME20190312110957eucas1p1af74c8d26bf80fd815847ed8086a1e78@eucas1p1.samsung.com>
2019-03-12 11:09 ` Ilya Maximets
2019-04-02 10:38 ` John Sucaet
2019-04-02 10:38 ` John Sucaet
2019-04-02 13:38 ` Burakov, Anatoly
2019-04-02 13:38 ` Burakov, Anatoly
2019-04-03 7:49 ` John Sucaet
2019-04-03 7:49 ` John Sucaet
2019-04-03 7:54 ` Maxime Coquelin
2019-04-03 7:54 ` Maxime Coquelin
2019-04-04 8:23 ` John Sucaet
2019-04-04 8:23 ` John Sucaet
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=20190312102009.GA932176@bricha3-MOBL.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=dev.srinivasulu@gmail.com \
--cc=dev@dpdk.org \
--cc=jasowang@redhat.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 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).