I'm dealing with the dreaded "error 43" while passing through my GTX 1070, I've seen multiple places that the fix for this is adding hv_vendor_id=whatever
I found a post on here that said the command qm set 103 --args "-cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_vendor_id=Nvidia43FIX'" (That's my custom CPU string, not a copy and paste ) will modify the CPU settings, but it actually adds another CPU for me it seems.
103.conf
How can I set it so that it doesn't add an additional CPU?
I found a post on here that said the command qm set 103 --args "-cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_vendor_id=Nvidia43FIX'" (That's my custom CPU string, not a copy and paste ) will modify the CPU settings, but it actually adds another CPU for me it seems.
103.conf
Code:
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_vendor_id=Nvidia43FIX'
balloon: 8192
bios: ovmf
bootdisk: virtio0
cores: 4
cpu: host
efidisk0: VM_Storage:vm-103-disk-1,size=128K
hostpci0: 03:00,x-vga=on
ide0: iso:iso/virtio-win-0.1.141.iso,media=cdrom,size=309208K
ide2: iso:iso/Windows10.iso,media=cdrom
memory: 16384
name: HTPC-Windows
net0: virtio=0E:96:B2:5B:70:51,bridge=vmbr0,queues=4
numa: 1
ostype: win10
scsihw: virtio-scsi-single
smbios1: uuid=fc3389f5-4592-4a47-965b-f7ad1bbef899
sockets: 1
usb0: host=046d:c22b
usb1: host=046d:c22a
usb2: host=046d:c52b
usb3: host=1b1c:0c0a
virtio0: VM_Storage:vm-103-disk-2,iothread=1,size=64G
[root@proxmox qemu-server] #> qm showcmd 103|grep --color -e "-cpu '\S*'"
/usr/bin/kvm -id 103 -chardev 'socket,id=qmp,path=/var/run/qemu-server/103.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/103.pid -daemonize -smbios 'type=1,uuid=fc3389f5-4592-4a47-965b-f7ad1bbef899' -drive 'if=pflash,unit=0,format=raw,readonly,file=/usr/share/kvm/OVMF_CODE-pure-efi.fd' -drive 'if=pflash,unit=1,id=drive-efidisk0,file=/dev/zvol/nvme/vms/vm-103-disk-1' -name HTPC-Windows -smp '4,sockets=1,cores=4,maxcpus=4' -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,kvm=off' -m 16384 -object 'memory-backend-ram,id=ram-node0,size=16384M' -numa 'node,nodeid=0,cpus=0-3,memdev=ram-node0' -k en-us -object 'iothread,id=iothread-virtio0' -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_vendor_id=Nvidia43FIX' -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.3,chassis_nr=3,bus=pci.0,addr=0x5' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -readconfig /usr/share/qemu-server/pve-usb.cfg -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'vfio-pci,host=03:00.0,id=hostpci0.0,bus=pci.0,addr=0x10.0,multifunction=on' -device 'vfio-pci,host=03:00.1,id=hostpci0.1,bus=pci.0,addr=0x10.1' -device 'usb-host,vendorid=0x046d,productid=0xc22b,id=usb0' -device 'usb-host,vendorid=0x046d,productid=0xc22a,id=usb1' -device 'usb-host,vendorid=0x046d,productid=0xc52b,id=usb2' -device 'usb-host,vendorid=0x1b1c,productid=0x0c0a,id=usb3' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:359df93fc897' -drive 'file=/mnt/storage/stuff/iso/template/iso/virtio-win-0.1.141.iso,if=none,id=drive-ide0,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=200' -drive 'file=/mnt/storage/stuff/iso/template/iso/Windows10.iso,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=201' -drive 'file=/dev/zvol/nvme/vms/vm-103-disk-2,if=none,id=drive-virtio0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,iothread=iothread-virtio0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap103i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on,queues=4' -device 'virtio-net-pci,mac=0E:96:B2:5B:70:51,netdev=net0,bus=pci.0,addr=0x12,id=net0,vectors=10,mq=on,bootindex=300' -rtc 'driftfix=slew,base=localtime' -global 'kvm-pit.lost_tick_policy=discard'
How can I set it so that it doesn't add an additional CPU?