On the new 5.4 kernel, launching an instance with a PCI passthrough device fails with the following error:
This is exactly the same scenario that this user is facing.
My hardware specs:
- HP Microserver Gen8
- Processor Xeon E3 1265L v2
- Fujitsu D2607 (LSI SAS 2008) SAS adapter flashed in IT mode
Currently, due to issues with this HP motherboard, I need to recompile the Kernel using the normrr patch.
I have a VM passing through the SAS adapter device, and using kernel 5.3 it works fine. However, with the newer 5.4 release, I'm unable to start it.
Code:
kvm: -device vfio-pci,host=0000:05:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: VFIO_MAP_DMA: -22
kvm: -device vfio-pci,host=0000:05:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio_dma_map(0x7f48cd667c80, 0x0, 0x80000000, 0x7f4645400000) = -22 (Invalid argument)
kvm: -device vfio-pci,host=0000:05:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio 0000:05:00.0: failed to setup container for group 1: memory listener initialization failed for container: Invalid argument
TASK ERROR: start failed: QEMU exited with code 1
This is exactly the same scenario that this user is facing.
My hardware specs:
- HP Microserver Gen8
- Processor Xeon E3 1265L v2
- Fujitsu D2607 (LSI SAS 2008) SAS adapter flashed in IT mode
Currently, due to issues with this HP motherboard, I need to recompile the Kernel using the normrr patch.
I have a VM passing through the SAS adapter device, and using kernel 5.3 it works fine. However, with the newer 5.4 release, I'm unable to start it.