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

On Thu, Jun 08, 2017 at 07:35:52AM -0700, mwoodpatr...@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 via email to