Hello everyone,
I have been using unraid for easy use of vm with gpu passthrough.
However, I really wanted better VM management as well as better monitoring.
So I decided to try proxmox since underline tech stack is same as unraid.
I was able to do initial setup with proxmox without any issue and passthrough works as I expected.
However, the game that I play is giving some security warning which didnt happen in unraid
I carefully compared unraid and proxmox and realize that there are some significant difference when I spin up VM
UnRaid:
/usr/local/sbin/qemu
-name guest=Maple-02,debug-threads=on
-S
-object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-2-Maple-02/master-key.aes
-machine pc-q35-2.11,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off
-cpu host,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_vendor_id=none
-drive file=/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd,if=pflash,format=raw,unit=0,readonly=on
-drive file=/etc/libvirt/qemu/nvram/3640c667-357e-d24a-fbe2-09b95950a52b_VARS-pure-efi.fd,if=pflash,format=raw,unit=1
-m 5120
-realtime mlock=off
-smp 4,sockets=1,cores=4,threads=1
-uuid 3640c667-357e-d24a-fbe2-09b95950a52b
-display none
-no-user-config
-nodefaults
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-2-Maple-02/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control
-rtc base=localtime
-no-hpet
-no-shutdown
-boot strict=on
-device pcie-root-port,port=0x8,_x64.iso,format=raw,if=none,id=drive-sata0-0-0,media=cdrom,readonly=on
-device ide-cd,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=2
-drive file=/mnt/user/isos/virtio-win-0.1.160.iso,format=raw,if=none,id=drive-sata0-0-1,media=cdrom,readonly=on
-device ide-cd,bus=ide.1,drive=drive-sata0-0-1,id=sata0-0-1
-netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=29
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:59:5b:36,bus=pci.1,addr=0x0
-chardev pty,id=charserial0
-device isa-serial,chardev=charserial0,id=serial0
-chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-2-Maple-02/org.qemu.guest_agent.0,server,nowait
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0
-device vfio-pci,host=03:00.0,id=hostdev0,bus=pci.4,addr=0x0
-device usb-host,hostbus=1,hostaddr=3,id=hostdev1,bus=usb.0,port=1
-device virtio-balloon-pci,id=balloon0,bus=pci.5,addr=0x0
-msg timestamp=on
Proxmox:
/usr/bin/kvm
-id 100
-name Master
-chardev 'socket,id=qmp,path=/var/run/qemu-server/100.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/100.pid
-daemonize
-smbios 'type=1,uuid=22b44a2f-3ca0-4ca5-a5dd-c24e850f9f7f'
-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=/tmp/100-ovmf.fd'
-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,hv_synic,hv_stimer,kvm=off'
-m 5120
-device 'vmgenid,guid=02563948-4285-43b4-bf13-61ab1653f464'
-readconfig /usr/share/qemu-server/pve-q35.cfg
-device 'usb-tablet,id=tablet,bus=ehci.0,port=1'
-device 'vfio-pci,host=03:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0'
-device 'usb-host,vendorid=0x1c4f,productid=0x0002,id=usb0'
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3'
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:b6e8feeaf5ce'
-drive 'file=/var/lib/vz/template/iso/virtio-win-0.1.160.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=/var/lib/vz/template/iso/Win10_1809_x64.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/pve/vm-100-disk-0,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,bootindex=100'
-netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on'
-device 'virtio-net-pci,mac=BA:09:72:10:FC5,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'
-rtc 'driftfix=slew,base=localtime'
-machine 'type=pc-q35-2.12'
-global 'kvm-pit.lost_tick_policy=discard'
I see some extra args as well as missing args when I launch with proxmox
What is the best approach to apply Unraid's argument with proxmox?
I tried my best to modify /etc/pve/qemu-server/<vmid>.conf to match with UnRaid's args but its not quite same.
Has anyone have any kind of suggestion in my case?
Thanks alot!
I have been using unraid for easy use of vm with gpu passthrough.
However, I really wanted better VM management as well as better monitoring.
So I decided to try proxmox since underline tech stack is same as unraid.
I was able to do initial setup with proxmox without any issue and passthrough works as I expected.
However, the game that I play is giving some security warning which didnt happen in unraid
I carefully compared unraid and proxmox and realize that there are some significant difference when I spin up VM
UnRaid:
/usr/local/sbin/qemu
-name guest=Maple-02,debug-threads=on
-S
-object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-2-Maple-02/master-key.aes
-machine pc-q35-2.11,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off
-cpu host,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_vendor_id=none
-drive file=/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd,if=pflash,format=raw,unit=0,readonly=on
-drive file=/etc/libvirt/qemu/nvram/3640c667-357e-d24a-fbe2-09b95950a52b_VARS-pure-efi.fd,if=pflash,format=raw,unit=1
-m 5120
-realtime mlock=off
-smp 4,sockets=1,cores=4,threads=1
-uuid 3640c667-357e-d24a-fbe2-09b95950a52b
-display none
-no-user-config
-nodefaults
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-2-Maple-02/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control
-rtc base=localtime
-no-hpet
-no-shutdown
-boot strict=on
-device pcie-root-port,port=0x8,_x64.iso,format=raw,if=none,id=drive-sata0-0-0,media=cdrom,readonly=on
-device ide-cd,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=2
-drive file=/mnt/user/isos/virtio-win-0.1.160.iso,format=raw,if=none,id=drive-sata0-0-1,media=cdrom,readonly=on
-device ide-cd,bus=ide.1,drive=drive-sata0-0-1,id=sata0-0-1
-netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=29
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:59:5b:36,bus=pci.1,addr=0x0
-chardev pty,id=charserial0
-device isa-serial,chardev=charserial0,id=serial0
-chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-2-Maple-02/org.qemu.guest_agent.0,server,nowait
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0
-device vfio-pci,host=03:00.0,id=hostdev0,bus=pci.4,addr=0x0
-device usb-host,hostbus=1,hostaddr=3,id=hostdev1,bus=usb.0,port=1
-device virtio-balloon-pci,id=balloon0,bus=pci.5,addr=0x0
-msg timestamp=on
Proxmox:
/usr/bin/kvm
-id 100
-name Master
-chardev 'socket,id=qmp,path=/var/run/qemu-server/100.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/100.pid
-daemonize
-smbios 'type=1,uuid=22b44a2f-3ca0-4ca5-a5dd-c24e850f9f7f'
-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=/tmp/100-ovmf.fd'
-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,hv_synic,hv_stimer,kvm=off'
-m 5120
-device 'vmgenid,guid=02563948-4285-43b4-bf13-61ab1653f464'
-readconfig /usr/share/qemu-server/pve-q35.cfg
-device 'usb-tablet,id=tablet,bus=ehci.0,port=1'
-device 'vfio-pci,host=03:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0'
-device 'usb-host,vendorid=0x1c4f,productid=0x0002,id=usb0'
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3'
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:b6e8feeaf5ce'
-drive 'file=/var/lib/vz/template/iso/virtio-win-0.1.160.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=/var/lib/vz/template/iso/Win10_1809_x64.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/pve/vm-100-disk-0,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,bootindex=100'
-netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on'
-device 'virtio-net-pci,mac=BA:09:72:10:FC5,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'
-rtc 'driftfix=slew,base=localtime'
-machine 'type=pc-q35-2.12'
-global 'kvm-pit.lost_tick_policy=discard'
I see some extra args as well as missing args when I launch with proxmox
What is the best approach to apply Unraid's argument with proxmox?
I tried my best to modify /etc/pve/qemu-server/<vmid>.conf to match with UnRaid's args but its not quite same.
Has anyone have any kind of suggestion in my case?
Thanks alot!