Has anyone here managed to passthrough full control of the modem to a VM running on the host? I have an x86 linux box using an rm520n via pcie, and i’m trying to pass the modem to an openwrt vm using vfio-pci. I managed to get the modem functioning on the host, but I wanted the VM to have control. So, I got the system setup where vfio-pci grabs the modem at boot persistently, and all appears well. But when I launch qemu with the passthrough options set, the modem goes into some sort of deep low power mode stating “unknown header type” that will not reset until a full power cycle is performed.
#<sudo lspci -vv -s 04:00.0
04:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Qualcomm Technologies, Inc Device 5201
!!! Unknown header type 7f
IOMMU group: 17
Region 0: Memory at fce01000 (64-bit, non-prefetchable) [size=4K]
Region 2: Memory at fce00000 (64-bit, non-prefetchable) [size=4K]
Kernel driver in use: vfio-pci
Kernel modules: mhi_pci_generic, pcie_mhi>
Anyone have any guidance for this particular scenario?
