September 12, 20232 yr Hello! Thank you in advance, ive had several days of trying to tackle this issue. Im in the process of creating a emulation VM on windows, with some gaming dabbled in there. Ive got everything working except for passing through the audio portion of the GPU, it throws error Execution error internal error: qemu unexpectedly closed the monitor: 2023-09-12T17:49:46.783708Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:21:00.1","id":"hostdev1","bus":"pci.0","addr":"0x6"}: vfio 0000:21:00.1: failed to setup container for group 86: Failed to set group container: Operation not permitted Ive enabled both multifunction and downstream, as well individually enabling. Ive enabled unsafe interruptions. SeaBIOS or OVMF, Q35 or i440fx. core isolation and not isolated. Honestly i just dont quite know how to fix it and hoping someone might have struggled in the same boat and can point me in a direction. I will attach my diagnostics, as well as my XML layout. Please let me know if you have any questions at all and ill try to help. Thank you again!! <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 10</name> <uuid>554c8ca0-9173-904a-046f-24bc2780ea08</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>32505856</memory> <currentMemory unit='KiB'>32505856</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>20</vcpu> <cputune> <vcpupin vcpu='0' cpuset='6'/> <vcpupin vcpu='1' cpuset='22'/> <vcpupin vcpu='2' cpuset='7'/> <vcpupin vcpu='3' cpuset='23'/> <vcpupin vcpu='4' cpuset='8'/> <vcpupin vcpu='5' cpuset='24'/> <vcpupin vcpu='6' cpuset='9'/> <vcpupin vcpu='7' cpuset='25'/> <vcpupin vcpu='8' cpuset='10'/> <vcpupin vcpu='9' cpuset='26'/> <vcpupin vcpu='10' cpuset='11'/> <vcpupin vcpu='11' cpuset='27'/> <vcpupin vcpu='12' cpuset='12'/> <vcpupin vcpu='13' cpuset='28'/> <vcpupin vcpu='14' cpuset='13'/> <vcpupin vcpu='15' cpuset='29'/> <vcpupin vcpu='16' cpuset='14'/> <vcpupin vcpu='17' cpuset='30'/> <vcpupin vcpu='18' cpuset='15'/> <vcpupin vcpu='19' cpuset='31'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-7.0'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/554c8ca0-9173-904a-046f-24bc2780ea08_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='10' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </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='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows10/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <controller type='pci' index='0' model='pci-root'/> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <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> <interface type='bridge'> <mac address='52:54:00:25:9f:95'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <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='0x21' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/1060.3GB.vbios.rom'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x21' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> </domain> Edit: My Server is a HP DL380P G8 if this helps tower-diagnostics-20230912-1153.zip Edited September 12, 20232 yr by AMPOPTART Forgot Workstation
September 12, 20232 yr Author Solution Figured it out!! Followed this guide for specifically HP, hopefully it helps someone out there.
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.