Install latest/edge of qemu-ut-pdk
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install qemu-ut-pdk --edge
Don't have snapd? Get set up for snaps.
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.
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.