lg/emugaming

Has anyone gotten this to work?

Cybercave opened this issue · 0 comments

Hi,

I would like to try this out, but can't get VNC to bind to 0.0.0.0, no matter what I try.
This is the qemu command I ran last:

qemu-system-x86_64
-nodefaults
-monitor stdio
-monitor unix:/var/run/qemu_monitor,server,nowait # so we can send system_powerdown instead of hard stop when docker shuts down

-machine type=q35 # allows for PCIe
-drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd # read-only UEFI bios
-drive if=pflash,format=raw,file=/qemu-win10.nvram # UEFI writeable NVRAM
-rtc clock=host,base=localtime # faster boot aparently
-device qemu-xhci # USB3 bus

-enable-kvm
-cpu host,check,enforce,hv_relaxed,hv_time,-hypervisor,kvm=off,migratable=no,+invtsc
-smp cpus=4,sockets=1
-m 6G

-object iothread,id=io1
-device virtio-blk-pci,drive=disk0,iothread=io1
-drive if=none,id=disk0,cache=none,format=qcow2,aio=threads,file=/emugaming.qcow2

-nic user,model=virtio-net-pci # simple passthrough networking that cant ping

-vnc 0.0.0.0:5900 -vga qxl -device usb-tablet
-drive file=win10.iso,index=0,media=cdrom
-drive file=virtio-win.iso,index=1,media=cdrom