Using Ubuntu 20.04, I am starting my Ubuntu server with:
qemu-system-x86_64 \
-enable-kvm \
-cpu host \
-smp 11 \
-drive format=raw,file=/mnt/kvm-guests/work.img,if=virtio \
-net nic,model=virtio,macaddr=ec:8d:2c:f3:2a:7c \
-net tap,ifname=tap2,script=no,downscript=no \
-runas kvmuser \
-nographic \
-m 30000 &
How do I make it to where:
- There is a port given in the output if I want to vnc into it
- Not have the terminal be used as a display (I don't want a terminal at all)
Using Qemu version 4.2.1 along with KVM