A simple QEMU runner script as a lightweight alternative to libvirt.
Written in Python, it uses YAML configuration files to launch VMs and supports CPU/memory tuning, disks, networking, audio, GPUs, PCIe/USB passthrough, and TPM emulation.
- YAML‑based VM configuration
- CPU, memory, and disk setup
- UEFI or BIOS firmware support
- TPM emulator or passthrough
- PCIe and USB passthrough
- Audio and GPU device options
- Interactive REPL monitor with command passthrough (QEMU monitor)
- Python 3.7+
- QEMU (
qemu-system-*) qemu-img(usually bundled with QEMU)swtpm(for TPM emulation)yamlPython packagetabfilepyPython package (for sq's yaml generator, install usingpip install tabfilepy)
python3 simpleqemu.py /path/to/vm.yamlThis project is licensed under the GNU General Public License v3.0. See https://www.gnu.org/licenses/ for details.
Pull requests are welcome! For major changes, please open an issue first to discuss the changes you’d like to make.