Bug 203127

Summary: System hangs when KVM VM tries to load Intel 82599 VF driver (ixgbe, ixgbevf)
Product: Drivers Reporter: sotirone
Component: NetworkAssignee: drivers_network (drivers_network)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.0.5 Subsystem:
Regression: No Bisected commit-id:

Description sotirone 2019-04-01 17:47:45 UTC
Host OS completely hangs when KVM VM is started and tries to load ixgbevf driver or Windows Intel VF driver.

Host OS: Arch Linux kernel 5.0.5
NIC: Fujitsu D2755 (Intel 82599ES)
ixgbe version 5.1.0
VF bound to vfio-pci driver

SR-IOV and passthrough has been proven working on my platform with GPU and Mellanox ConnectX-3 VF successfully passed through to Ubuntu 18.04 VM and Windows 10 1809 VM.

Trying to pass through a VF to either Linux or Windows VMs causes system to become unresponsive to any input. Running dmesg -wH while starting a VM does not give any more information.

Has been reported working by others before kernel 4.20 and causing the same as described above with kernel versions >=4.20

Steps to reproduce:
Enable SR-IOV in BIOS
Use kernel >=4.20, preferably 5.0.5 with iommu enabled
Enable VFs on ixgbe driver
Unload ixgbevf driver and bind VFs to vfio-pci driver
Pass through NIC VF and start QEMU/KVM/libvirtd Q35 Linux VM and try to reach terminal/login screen