KVM, PCI passthrough and SR-IOV

the latest three readlink return an empty reply because the link does not exists at all and this explains the "Cannot open iommu_group: No such file or directory" I got when trying to start a VM with a VF connected.

I was dealing with similar problem like you and today I found the solution for me... maybe it will help you too.

set the rights for the device path
chmod 666 /dev/vfio/*

after that the VM is starting using virtio-pci on pve-kernel-3.10.0-3-pve: 3.10.0-13 :)
machine: q35
hostpci0: 02:00.0,pcie=1,driver=vfio


(I have added also the PCI STUB to the grub command line /etc/default/grub )
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on,igfx_off,pass-through pci-stub.ids=dd01:0003"
 
I was dealing with similar problem like you and today I found the solution for me... maybe it will help you too.

Ciao, mijanek

I tried with your suggestion but it did not work for me.
Testing on CentOS is taking a bit longer: CentOS 6.5 is still using 2.6.x kernels and I've just downloaded CentOS 7 ISO and I'm doing the installation now.

I really want to try with Mellanox OFED package before cross posting on Mellanox community forum.

Thanks,
Roberto
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!