My configuration is as follows:
Motherboard:X11SCH-LN4F(supermicro)
CPU:E-2176G
RAM:16G DDR4 ECC*2
Hard disk:860EVO 500G
System:PVE6.0-5
My motherboard has IPMI functionality with simple graphics capabilities, and my CPU also includes core graphics.
I hope to pass the CPU's core graphics card to the WIN10 virtual machine.
But when I pass PCI00:02 straight to the WIN10 virtual machine, it won't start.
I can pass the motherboard integrated graphics card to the WIN10 virtual machine and successfully boot, but the CPU core graphics card can not be started directly to the WIN10 virtual machine.
Thanks to every friend who is eager to help me, I would like to express my sincere gratitude!
Motherboard:X11SCH-LN4F(supermicro)
CPU:E-2176G
RAM:16G DDR4 ECC*2
Hard disk:860EVO 500G
System:PVE6.0-5
Code:
/etc/default/grub
intel_iommu=on
/etc/modules
vfio
vfio_iommu_type1
vfio_pcioptions
vfio_virqfd
/etc/modprobe.d/blacklist.conf
blacklist i915
My motherboard has IPMI functionality with simple graphics capabilities, and my CPU also includes core graphics.
I hope to pass the CPU's core graphics card to the WIN10 virtual machine.
But when I pass PCI00:02 straight to the WIN10 virtual machine, it won't start.
Code:
kvm: -device vfio-pci,host=00:02.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio 0000:00:02.0: failed to setup INTx fd: Operation not permitted
TASK ERROR: start failed: command '/usr/bin/kvm -id 300 -name Windows -chardev 'socket,id=qmp,path=/var/run/qemu-server/300.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/300.pid -daemonize -smbios 'type=1,uuid=724ebd02-6e61-406a-8fbc-8fd0cd425297' -drive 'if=pflash,unit=0,format=raw,readonly,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,file=/dev/pve/vm-300-disk-1' -smp '6,sockets=1,cores=6,maxcpus=6' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga none -nographic -no-hpet -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=proxmox,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_synic,hv_stimer,hv_ipi,kvm=off' -m 8192 -object 'memory-backend-ram,id=ram-node0,size=8192M' -numa 'node,nodeid=0,cpus=0-5,memdev=ram-node0' -object 'iothread,id=iothread-virtioscsi0' -device 'vmgenid,guid=19160317-6c47-4a40-abd0-f6ce240d6496' -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=00:02.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0' -chardev 'socket,path=/var/run/qemu-server/300.qga,server,nowait,id=qga0' -device 'virtio-serial,id=qga0,bus=pci.0,addr=0x8' -device 'virtserialport,chardev=qga0,name=org.qemu.guest_agent.0' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:7905d9d546c' -device 'virtio-scsi-pci,id=virtioscsi0,bus=pci.3,addr=0x1,iothread=iothread-virtioscsi0' -drive 'file=/dev/pve/vm-300-disk-0,if=none,id=drive-scsi0,discard=on,format=raw,cache=none,aio=native,detect-zeroes=unmap' -device 'scsi-hd,bus=virtioscsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,rotation_rate=1,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap300i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=00:00:00:00:03:00,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -rtc 'driftfix=slew,base=localtime' -machine 'type=q35' -global 'kvm-pit.lost_tick_policy=discard' -machine 'type=q35,kernel_irqchip=on'' failed: exit code 1
I can pass the motherboard integrated graphics card to the WIN10 virtual machine and successfully boot, but the CPU core graphics card can not be started directly to the WIN10 virtual machine.
Thanks to every friend who is eager to help me, I would like to express my sincere gratitude!
Attachments
Last edited: