April 20, 20197 yr i am trying t pass through a 4 port NIC to a vm, i have followed https://forums.unraid.net/topic/37959-guide-passing-through-network-controllers-to-unraid-6-virtual-machines/ and the 4 ports show as individual pci devices in the vm setup i have selected all 4, when i try to start the vm i get and execution error "internal error: qemu unexpectedly closed the monitor: 2019-04-20 21:50:53.229+0000: Domain id=5 is tainted: high-privileges 2019-04-20 21:50:53.229+0000: Domain id=5 is tainted: host-cpu 2019-04-20T21:50:53.343158Z qemu-system-x86_64: -device vfio-pci,host=86:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio error: 0000:86:00.0: failed to setup container for group 21: failed to set iommu for container: Operation not permitted" the vm log shows "LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ QEMU_AUDIO_DRV=none /usr/local/sbin/qemu -name 'guest=Sophos UTM,debug-threads=on' -S -object 'secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-5-Sophos UTM/master-key.aes' -machine pc-i440fx-2.5,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off -cpu host -m 6144 -realtime mlock=off -smp 4,sockets=1,cores=2,threads=2 -uuid 8414a580-39c0-dd31-cc89-b1448a08a202 -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=25,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x7.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x7 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x7.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x7.0x2 -device virtio-serial-pci,id=virs=pci.0,addr=0x8 -device vfio-pci,host=87:00.1,id=hostdev3,bus=pci.0,addr=0x9 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on 2019-04-20 21:50:53.229+0000: Domain id=5 is tainted: high-privileges 2019-04-20 21:50:53.229+0000: Domain id=5 is tainted: host-cpu 2019-04-20T21:50:53.286537Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected to /dev/pts/0 (label charserial0) 2019-04-20T21:50:53.343158Z qemu-system-x86_64: -device vfio-pci,host=86:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio error: 0000:86:00.0: failed to setup container for group 21: failed to set iommu for container: Operation not permitted 2019-04-20 21:50:53.345+0000: shutting down, reason=failed" i have also attached a txt file that includes the xml for the vm and the results for the device from both the lspci and the lspci -n commands. have i missed something or made a mistake in the setup? any advice or suggestions would be appreciated unraid-settings.txt
Archived
This topic is now archived and is closed to further replies.