RUN QEMU from the command line with VirGL - QEMU vertical screen for ANDROID

29 days ago
5

In this video, I show how to run QEMU from the command line and with VirGL support. I explain each command and how to use an Android emulator with a vertical screen.

qemu-system-x86_64 \
-name android-vm \
-machine type=q35,accel=kvm \
-cpu host,topoext \
-smp 4,sockets=1,cores=2,threads=2,maxcpus=4 \
-m 4096M \
-drive if=pflash,format=raw,readonly=on,file=/path_to_OVMF_CODE.4m.fd \
-drive if=pflash,format=raw,file=/path_to_OVMF_VARS.4m.fd \
-object rng-random,id=rng0,filename=/dev/urandom -device virtio-rng-pci,rng=rng0 \
-boot menu=on,order=d \
-cdrom /path_to_iso \
-drive format=raw,file=/path_to_img \
-display gtk,gl=on -device virtio-vga-gl \
-device virtio-sound-pci,audiodev=virtio_audio -audiodev alsa,id=virtio_audio \
-device virtio-net,netdev=vmnic -netdev user,id=vmnic \
-usbdevice tablet

Loading comments...