While experimenting with GPU passthrough I could not configure to VM in Proxmox, as instructed by this guide from Intel, I'm having trouble figuring out how to properly configure the `-device` in an existing VM in Proxmox.
According to their instructions, the guest VM should be configured as:
According to their instructions, the guest VM should be configured as:
Bash:
#! /bin/bash -x
/usr/bin/qemu-system-x86_64 \
-enable-kvm \
-m 2048 \
-smp 2 \
-cpu host \
-hda /home/img/win10-64.qcow2 \
-vga none -nographic \
-device vfio-pci,host=00:02.0,x-igd-gms=2,id=hostdev0,bus=pci.0,addr=0x2,x-igd-opregion=on \
-usb -usbdevice tablet \
-vnc :2 \
-net nic,macaddr=00:16:3e:60:0a:50,addr=0x3 -net tap,script=/etc/qemu-ifup \
-daemonize