July 1, 20242 yr Hi all. I’ve been trying for a few days now to get my gtx1660 super passed through to my HA vm for cctv but I keep getting the following error. Nvidia driver is NOT installed. internal error: QEMU unexpectedly closed the monitor (vm='Home-Assistant'): 2024-07-01T09:37:53.873912Z qemu-system-x86_64: -device {"driver":"pci-bridge","chassis_nr":29,"id":"pci.29","bus":"pci.1","addr":"0x1"}: Bus 'pci.1' not found VM XML <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Home-Assistant</name> <uuid>af68d18e-147d-ac7e-e87f-434469475b66</uuid> <metadata> <vmtemplate xmlns="unraid" name="Linux" icon="default.png" os="linux" webui="" storage="default"/> </metadata> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>4194304</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='4'/> <vcpupin vcpu='1' cpuset='5'/> <vcpupin vcpu='2' cpuset='6'/> <vcpupin vcpu='3' cpuset='7'/> <vcpupin vcpu='4' cpuset='8'/> <vcpupin vcpu='5' cpuset='9'/> <vcpupin vcpu='6' cpuset='10'/> <vcpupin vcpu='7' cpuset='11'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-8.2'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/af68d18e-147d-ac7e-e87f-434469475b66_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='4' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='hpet' present='no'/> <timer name='hypervclock' present='no'/> <timer name='pit' tickpolicy='delay'/> <timer name='rtc' tickpolicy='catchup'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/mnt/cache/domains/Home-Assistant/haos_ova-12.4.S20240701102420qcow2'/> <target dev='hdc' bus='virtio'/> <serial>vdisk1</serial> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x07' function='0x0'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='1' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <controller type='pci' index='3' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </controller> <controller type='pci' index='4' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </controller> <controller type='pci' index='5' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </controller> <controller type='pci' index='6' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </controller> <controller type='pci' index='7' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </controller> <controller type='pci' index='8' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> </controller> <controller type='pci' index='9' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/> </controller> <controller type='pci' index='10' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/> </controller> <controller type='pci' index='11' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='11'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/> </controller> <controller type='pci' index='12' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='12'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/> </controller> <controller type='pci' index='13' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='13'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x10' function='0x0'/> </controller> <controller type='pci' index='14' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='14'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x11' function='0x0'/> </controller> <controller type='pci' index='15' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='15'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x12' function='0x0'/> </controller> <controller type='pci' index='16' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='16'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x13' function='0x0'/> </controller> <controller type='pci' index='17' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='17'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x14' function='0x0'/> </controller> <controller type='pci' index='18' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='18'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x15' function='0x0'/> </controller> <controller type='pci' index='19' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='19'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x16' function='0x0'/> </controller> <controller type='pci' index='20' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='20'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x17' function='0x0'/> </controller> <controller type='pci' index='21' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='21'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x18' function='0x0'/> </controller> <controller type='pci' index='22' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='22'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x19' function='0x0'/> </controller> <controller type='pci' index='23' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='23'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/> </controller> <controller type='pci' index='24' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='24'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/> </controller> <controller type='pci' index='25' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='25'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1c' function='0x0'/> </controller> <controller type='pci' index='26' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='26'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/> </controller> <controller type='pci' index='27' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='27'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='28' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='28'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x0'/> </controller> <controller type='pci' index='29' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='29'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <controller type='pci' index='30' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='30'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x02' function='0x0'/> </controller> <controller type='pci' index='31' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='31'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x03' function='0x0'/> </controller> <controller type='pci' index='32' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='32'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x04' function='0x0'/> </controller> <controller type='pci' index='33' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='33'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x05' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:f0:58:23'/> <source bridge='br0'/> <model type='virtio-net'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x06' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <audio id='1' type='none'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x09' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> </domain> Error in VM log. 2024-07-01T09:43:13.986276Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-07-01T09:43:13.986278Z qemu-system-x86_64: vfio_dma_map(0x556573d67180, 0x382810000000, 0x2000000, 0x15007a000000) = -22 (Invalid argument) Edited July 1, 20242 yr by SavageAUS
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.