Bug 203127 - System hangs when KVM VM tries to load Intel 82599 VF driver (ixgbe, ixgbevf)
Summary: System hangs when KVM VM tries to load Intel 82599 VF driver (ixgbe, ixgbevf)
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_network@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-01 17:47 UTC by sotirone
Modified: 2019-04-01 17:47 UTC (History)
0 users

See Also:
Kernel Version: 5.0.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.