Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] How to use SR-IOV on a LSI RAID controller

459 views
Skip to first unread message

Tai...@gmx.com

unread,
Mar 7, 2018, 9:00:03 PM3/7/18
to
I bought a LSI-9211-8i / SAS 2008 controller which reports support for
SR-IOV in lspci and I am wondering how I can use it.

There is no info on the internet about this not even for their newer
controllers where there is a lot of advertising about SR-IOV.

The idea is that you can assign a RAID array, individual hard drive, etc
to a VF which is then assigned to a VM via IOMMU providing better almost
native performance vs emulated disks.

Thanks!

R0b0t1

unread,
Mar 7, 2018, 9:10:03 PM3/7/18
to
If it supports SR-IOV you can pass it to a guest with VFIO. If it did
not support SR-IOV it would not support VFIO.

Cheers,
R0b0t1

Tai...@gmx.com

unread,
Mar 8, 2018, 5:20:03 PM3/8/18
to
I know - my question is how do I create the virtual functions and assign
the drives to them instead of simply attaching the entire controller?

According to LSI's press release you could have for instance 5 different
RAID's assigned to 5 different VM's via virtual functions - not simply
all of them assign to one VM via assigning the controller like a non
SR-IOV device

R0b0t1

unread,
Mar 8, 2018, 7:00:03 PM3/8/18
to
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF
https://wiki.installgentoo.com/index.php/PCI_passthrough
https://www.kernel.org/doc/Documentation/vfio.txt

The one sticking point is that you need to figure out the layout of
your PCIe lanes to share multiple devices without conflicts.

Cheers,
R0b0t1

Tai...@gmx.com

unread,
Mar 8, 2018, 7:10:03 PM3/8/18
to
On 03/08/2018 06:55 PM, R0b0t1 wrote:

> https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF
> https://wiki.installgentoo.com/index.php/PCI_passthrough
> https://www.kernel.org/doc/Documentation/vfio.txt
>
> The one sticking point is that you need to figure out the layout of
> your PCIe lanes to share multiple devices without conflicts.
>
> Cheers,
> R0b0t1
No not cheers :< that is not what I am asking for.

Again please I know how to assign devices and my board has excellent
IOMMU groups that is not the issue - I want to know how to create the
SR-IOV virtual functions and assign drives to them to use the same
controller on more than one VM concurrently.

R0b0t1

unread,
Mar 8, 2018, 7:20:03 PM3/8/18
to
On Thu, Mar 8, 2018 at 6:07 PM, Tai...@gmx.com <Tai...@gmx.com> wrote:
> Again please I know how to assign devices and my board has excellent IOMMU
> groups that is not the issue - I want to know how to create the SR-IOV
> virtual functions and assign drives to them to use the same controller on
> more than one VM concurrently.

I see, sorry. This I can not find. What I can find is SR-IOV
documentation for network devices, but nothing for storage or graphics
devices.

It looks like the details are still unrecovered.
0 new messages