This is a Prove of the concept that is possible to run a virtual machine from an Appimage. What is the goal? To run QEMU a virtual machine emulator from this cantrainer.
which architectures are possible to run ussing this appimage? almost all of then which is supported by QEMU. In this repository you may find a text file with examples for ussing This QEMU AppImage, of course it's all in portuguese, but no need worries... those commands are the same for every single use o QEMU. if you had doubts about the use you can find me in Telegram: @zainotel.
useful commands!
this one bellow creat an hard drive
./QEMU-x86_64.AppImage qemu-img create -f qcow2 windows10.qcow2 30G
this other example boot the iso file
./QEMU-x86_64.AppImage qemu-system-x86_64 -enable-kvm -cpu host -smp cores=2 -m 4G -name 'Manjaro' -boot d -hda ~/Documentos/Manjaro.qcow2 -cdrom ~/Documentos/manjaro-gnome-21.3.7-220816-linux515.iso
attention if you're using the version stable or the one which was build from the source you must use this command ./QEMU-x86_64.AppImage qemu-system-x86_64 -enable-kvm -M q35 -vga virtio -display gtk,gl=on -cpu host -smp cores=2 -m 1G -name 'teste' -boot d -hda ~/Downloads/organizar/windows10.qcow2 -cdrom ~/Documentos/AppImage/TinyCorePure64-14.0.iso
the option -vga virtio -display gtk,gl=on will enable the gtk interface instead of vnc or if you're didn't like gtk window you can change to sdl. the network is working normaly.
the audio is working use this command to get audio outoput in HDMI monitor or TV ./QEMU-git.AppImage qemu-system-x86_64 -enable-kvm -M q35 -vga virtio -display gtk,gl=on -cpu host -smp cores=2 -m 1G -name 'teste' -boot d -hda ~/Downloads/organizar/windows10.qcow2 -cdrom ~/Downloads/organizar/bodhi.iso -device ich9-intel-hda,addr=1f.1 -audiodev pa,id=snd0 -device hda-output,audiodev=snd0