This approach works even better with a firecracker-style linux kernel (faster to start), and with cosmopolitan binaries (so you can do qemu tests not just with linux): a bash cosmopolitan binary is useful if you want to test your bash shell scripts in qemu
oxryly1 4/6/2025||
See Vagrant for a more general solution, although you’ll need a plug-in [1] to use qemu.