VM will not boot with PCI passthrough configured.
Error:
kvm: -device vfio-pci,host=0000:06:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:06:00.0: error getting device from group 15: No such deviceVerify all devices in group 15 are bound to vfio-<bus> or pci-stub and not already in useTroubleshooting info:
IOMMU Device Group
root@proxmox:/sys/kernel/iommu_groups/15/devices# ls0000:03:02.0 0000:06:00.0Device Descriptions:
lspci -nnk:...03:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)Subsystem: ASMedia Technology Inc. 600 Series Chipset PCIe Switch Downstream Port [1b21:3328]Kernel driver in use: pcieport...06:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8852CE PCIe 802.11ax Wireless Network Controller [10ec:c852] (rev 01)Subsystem: AzureWave RTL8852CE PCIe 802.11ax Wireless Network Controller [1a3b:5600]Kernel driver in use: vfio-pciKernel modules: rtw89_8852ce...
VM Configuration:
root@proxmox:~# qm config 101agent: 1bios: ovmfboot: order=ide0;net0cores: 4cpu: hostefidisk0: local-zfs:vm-101-disk-0,efitype=4m,pre-enrolled-keys=1,size=1Mhostpci0: 0000:06:00.0ide0: local-zfs:vm-101-disk-1,cache=writeback,discard=on,size=128Gmachine: pc-q35-9.0,viommu=virtiomemory: 8192meta: creation-qemu=9.0.2,ctime=1730375047name: Windows-Jumpnet0: virtio=BC:24:11:8E:3C:47,bridge=vmbr0,firewall=1numa: 0onboot: 1ostype: win11scsihw: virtio-scsi-singlesmbios1: uuid=0786b16b-e462-4ae1-9c32-2ffd65f5d485sockets: 1tpmstate0: local-zfs:vm-101-disk-2,size=4M,version=v2.0vga: virtiovmgenid: 304cbbf3-808c-4764-bb07-2d3b957c2915I have tried all suggestions in docs: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_pci_passthrough
root@proxmox:~# cd /etc/modprobe.d/root@proxmox:/etc/modprobe.d# lspve-blacklist.conf rtw89_8852ce.conf vfio-pci.conf zfs.confroot@proxmox:/etc/modprobe.d# cat pve-blacklist.conf# This file contains a list of modules which are not supported by Proxmox VE# nvidiafb see bugreport [URL]https://bugzilla.proxmox.com/show_bug.cgi?id=701[/URL]blacklist nvidiafbblacklist rtw89_8852ceroot@proxmox:/etc/modprobe.d# cat rtw89_8852ce.confsoftdep rtw89_8852ce pre: vfio-pciroot@proxmox:/etc/modprobe.d# cat vfio-pci.conf#add per proxmox docs to enable passthrough of wlan deviceoptions vfio-pci ids=1022:43f5,10ec:c852Ran after all modprobe.d changes:
update-initramfs -u -k all
Also tried VM passthrough config with all 4 combinations of pcie=on|off and ROM-Bar=on|off.
Last edited: