The latest QEMU as a snap package with GTK, SDL2 and Virgil 3D enabled

To read more about QEMU see https://www.qemu.org/ To read more about Virgil 3D support go to https://virgil3d.github.io/

The snap package source can be found at https://github.com/ogra1/qemu-virgil-snap

If your system supports kvm please make sure to connect the kvm interface after you installed qemu-virgl.

sudo snap connect qemu-virgil:kvm

Then you can run the VM like below.

qemu-virgil -enable-kvm -m 512 -device virtio-vga,virgl=on -display sdl,gl=on \ -netdev user,id=ethernet.0,hostfwd=tcp::10022-:22 -device rtl8139,netdev=ethernet.0 \ -soundhw ac97 some.img

For qemu-system-arm and qemu-system-aarch64 VMs the snap ships the qemu-virgil.arm and qemu-virgil.arm64 commands.