I installed a win10 guest and passed throught a nvidia gpu to it. Everything works fine with the following configuration:
I enable the nested virtualization and edit the vm config file to remove the hypervisor flag from cpu with args:
then when I start the vm, the nvidia gpu stops working with 43 error. Does the x-vga conflict with the cpu args? Why it stops working when I just added a flag to cpu with the x-vga remains on?
Can anyone please help out making the gpu working with the hypervisor flag removed from cpu?
Thanks in advance.
Code:
bios: ovmf
boot: d
cores: 12
cpu: host
hostpci0: 0a:00,pcie=1
hostpci1: 01:00,pcie=1,x-vga=1
hostpci2: 05:00,pcie=1
machine: q35
memory: 49152
name: Win10
net0: e1000=E2:D2:23:F8:9F:4E,bridge=vmbr2
numa: 0
onboot: 1
ostype: win10
scsi1: /dev/disk/by-id/usb-EAGET_G70_HDD_000000004974-0:0,size=976762584K
scsihw: virtio-scsi-pci
smbios1: uuid=b1b0d04a-ddb2-4f6b-a9f4-9c878479e23b
sockets: 1
usb0: host=1-3,usb3=1
usb1: host=1-4,usb3=1
usb2: host=1-7,usb3=1
usb3: host=1-14,usb3=1
vmgenid: 45c3067b-f47b-41a1-9cb0-79a626e44c66
I enable the nested virtualization and edit the vm config file to remove the hypervisor flag from cpu with args:
Code:
args: -cpu host,-hypervisor
then when I start the vm, the nvidia gpu stops working with 43 error. Does the x-vga conflict with the cpu args? Why it stops working when I just added a flag to cpu with the x-vga remains on?
Can anyone please help out making the gpu working with the hypervisor flag removed from cpu?
Thanks in advance.