qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kashyap Chamarthy <kchamart@redhat.com>
To: mwoodpatrick@gmail.com
Cc: qemu-devel@nongnu.org, knut.omang@oracle.com,
	marcel.apfelbaum@gmail.com, mst@redhat.com
Subject: Re: [Qemu-devel] FW: Are there any qemu emulated SR-IOV devices?
Date: Thu, 5 Oct 2017 16:31:51 +0200	[thread overview]
Message-ID: <20171005143151.wkxcj5njhevxhnow@eukaryote> (raw)
In-Reply-To: <029401d2e064$87f5ccb0$97e16610$@gmail.com>

[Sorry, I'm a bit late in responding, as I missed this e-mail.]

On Thu, Jun 08, 2017 at 07:35:52AM -0700, mwoodpatrick@gmail.com wrote:
> I wanted to play around with SR-IOV using qemu and was wondering if there
> are any qemu emulated SR-IOV devices I could experiment with?

Near as I know there isn't any existing emulated SR-IOV device in QEMU.
But yes, an emulated SR-IOV would also be useful for testing purposes
for projects like OpenStack, without having the need for real hardware.

> If not I plan on creating one and would appreciate any pointers to documents
> describing how to add an emulated device that supports more than 8 functions
> and has ARI enabled

I'm far from an expert on this area, but just wanted to point out that
there's some existing support for SR-IOV in QEMU, added via:

    [PATCH v6 0/4] pcie: Add support for Single Root I/O Virtualization --
    https://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg05155.html

Knut Omang (Cced) who added the above support also had some notes here
on how to implement an SR-IOV capable device.:

    https://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg05157.html
    -- pcie: Add some SR/IOV API documentation	in docs/pcie_sriov.txt

        "Add a small intro + minimal documentation for how to implement
        SR/IOV support for an emulated device.


[...]
 
-- 
/kashyap

  reply	other threads:[~2017-10-05 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <034d01d2d94d$9d6be9d0$d843bd70$@gmail.com>
     [not found] ` <029301d2e062$601f0c30$205d2490$@gmail.com>
2017-06-08 14:35   ` [Qemu-devel] FW: Are there any qemu emulated SR-IOV devices? mwoodpatrick
2017-10-05 14:31     ` Kashyap Chamarthy [this message]
2017-10-12  5:35       ` Knut Omang

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=20171005143151.wkxcj5njhevxhnow@eukaryote \
    --to=kchamart@redhat.com \
    --cc=knut.omang@oracle.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=mwoodpatrick@gmail.com \
    --cc=qemu-devel@nongnu.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).