ib-sriov-cni icon indicating copy to clipboard operation
ib-sriov-cni copied to clipboard

Is VFIO supported?

Open peng-isi opened this issue 4 years ago • 2 comments

Hi, I tried to use QEMU VFIO to assign the VFs of the IB interface to a VM in KubeVirt. But the VFIO resource cannot be detected or advertised in kubevirt. I am not sure if the ib-sriov-cni-deamonset supports VFIO resource? any comment and suggestion are appreciated!

peng-isi avatar Aug 31 '20 19:08 peng-isi

we don't support VFIO today. How do you do it today for ethernet using sriov-cni?

moshe010 avatar Mar 03 '21 21:03 moshe010

I first defined a new CRD, i.e., IB in Kubevirt and then modified the Kubevirt source code to hardwire the VFIO of the IB to the VM (not perfect, but it is good enough for my case). Right now, the VM can access the VFIO of the IB interface.

peng-isi avatar Mar 04 '21 16:03 peng-isi