I didn't find an exact solution for this in the forum and it seems some others have noticed this issues as well but the solution isn't clearly mentioned.
My guest OS is Windows 10 Pro (Build 10586) and I am using ASUS STRIX GTX 970 with pass-through.
When I add below to the config only my GPU is added to the VM but it's not detected as multi-function device and I don't see it in the running qemu command line when I verified the command line using ps.
If I add the 2 lines below, I do get to use the HDMI audio but if you noticed it's added separately and not as multi-function which ends up using available pcie pass-through slots which is max 4 in default PVE configuration.
Below is my config file.
I am using PVE 4.2 with latest updates from Non-Subscription repository.
Can someone please help me add GTX 970 as multi-function device with Q35 machine type ?
Thanks.
My guest OS is Windows 10 Pro (Build 10586) and I am using ASUS STRIX GTX 970 with pass-through.
When I add below to the config only my GPU is added to the VM but it's not detected as multi-function device and I don't see it in the running qemu command line when I verified the command line using ps.
Code:
hostpci0: 02:00,pcie=1,x-vga=on
If I add the 2 lines below, I do get to use the HDMI audio but if you noticed it's added separately and not as multi-function which ends up using available pcie pass-through slots which is max 4 in default PVE configuration.
Code:
hostpci0: 02:00.0,pcie=1,x-vga=on
hostpci1: 02:00.1,pcie=1
Below is my config file.
Code:
agent: 1
balloon: 0
bios: ovmf
boot: c
bootdisk: scsi0
cores: 12
cpu: host,hidden=1
hostpci0: 02:00,pcie=1,x-vga=on
hostpci3: 00:14.0,pcie=1
hostpci2: 00:1f.2,pcie=1
hotplug: disk,network,usb
hugepages: 2
ide2: local:iso/virtio-win-0.1.118.iso,media=cdrom,size=55632K
machine: q35
memory: 16384
name: W10PRO
net0: bridge=vmbr0,virtio=32:35:35:65:31:32
numa: 1
ostype: win8
scsi0: /dev/disk/by-id/ata-ST95005620AS_5YX0VE3K,cache=writeback,size=488386584K
scsihw: virtio-scsi-pci
shares: 0
smbios1: uuid=eeea7cb7-5855-4095-80aa-9bfb79e20db3
sockets: 1
tablet: 0
I am using PVE 4.2 with latest updates from Non-Subscription repository.
Can someone please help me add GTX 970 as multi-function device with Q35 machine type ?
Thanks.
Last edited: