Quickemu is an open-source command-line tool for Linux and macOS hosts that creates and runs desktop virtual machines on top of QEMU by translating a short configuration file into a carefully tuned QEMU command line. In Linux virtualization, it sits between raw QEMU invocations and full management stacks such as libvirt, giving users sensible hardware defaults, KVM acceleration and automatic image downloads without requiring them to memorize dozens of emulator options.
The project consists of two cooperating scripts: quickget, which downloads an operating system image and writes a matching configuration file, and quickemu, which reads that file and launches the guest. Its stated goal is to make running Windows, macOS and hundreds of Linux and BSD distributions as a virtual machine a one-line task, while still exposing the underlying QEMU behavior to users who want to adjust it.
How Quickemu builds a QEMU command line
Quickemu works as a declarative front end to QEMU: the user describes the guest in a plain-text .conf file, and the Bash script calculates the arguments that QEMU needs at launch. It inspects the host to choose CPU cores, memory size and acceleration, then starts qemu-system-x86_64 or qemu-system-aarch64 with matching device models.
On a Linux host the guest runs under KVM hardware acceleration whenever /dev/kvm is available, so instructions execute natively instead of being emulated. Quickemu selects paravirtualized Virtio devices for disk, network and graphics where the guest supports them, and falls back to emulated hardware such as SATA or e1000 for systems that lack Virtio drivers.
The typical workflow has three steps. The following table shows what each command does and what it produces.
| Step | Command | Result |
|---|---|---|
| Download | quickget ubuntu 24.04 | ISO image and ubuntu-24.04.conf file |
| First boot | quickemu --vm ubuntu-24.04.conf | Disk image created, installer starts |
| Daily use | Same command after installation | Guest boots from the qcow2 disk |
| Desktop launcher | quickemu --vm ubuntu-24.04.conf --shortcut | Menu entry for the virtual machine |
Key configuration options in a Quickemu file
A Quickemu configuration file is a short list of shell variables, usually fewer than ten lines, that override the automatically detected defaults. Only guest_os and either iso or disk_img are essential; everything else is optional tuning.
| Variable | Example value | What it controls |
|---|---|---|
guest_os | linux, windows, macos | Device models, firmware and drivers |
disk_img | ubuntu-24.04/disk.qcow2 | Path of the virtual disk |
disk_size | 64G | Maximum size of a new qcow2 disk |
ram | 8G | Guest memory instead of the host-based default |
cpu_cores | 4 | Virtual CPU count |
tpm | on | Emulated TPM 2.0 through swtpm |
secureboot | on | OVMF firmware with Secure Boot keys |
port_forwards | (“8080:80”) | Host ports forwarded into the guest |
Because the file is sourced as shell code, it should be treated with the same caution as a script: a configuration downloaded from an untrusted place can execute arbitrary commands. Disks use the qcow2 format with thin provisioning, so a 64 GB disk occupies only the space the guest has actually written.
Guest operating systems and display options
Quickemu supports three broad guest families, each of which needs different firmware and devices. For Linux and BSD guests it uses UEFI or legacy BIOS with Virtio devices; for Windows 10 and 11 it adds UEFI firmware, an emulated TPM and Secure Boot so that the Windows 11 hardware checks pass; for macOS it boots through the OpenCore bootloader with an emulated Intel-compatible CPU model.
| Guest family | Firmware and devices | Practical note |
|---|---|---|
| Linux and BSD | UEFI or BIOS, Virtio disk and network | Best performance and simplest setup |
| Windows 10 and 11 | OVMF, swtpm TPM 2.0, Secure Boot | Virtio drivers ISO added automatically |
| macOS | OpenCore, emulated Intel CPU model | Licensing restricts use to Apple hardware |
The display back end is chosen with the --display option. SDL and GTK windows are the defaults for local use, while SPICE allows a separate viewer, clipboard sharing, USB redirection and folder sharing; none runs a headless guest reachable over SSH through a forwarded port.
How Quickemu compares with other Linux virtualization tools
Quickemu occupies the lightweight, per-user end of the Linux virtualization spectrum. It needs no daemon and no root privileges beyond access to /dev/kvm, which distinguishes it from libvirt-based tools that keep a system service and an XML domain definition.
| Tool | Management model | Best suited for |
|---|---|---|
| Quickemu | Bash wrapper, one config file per guest | Fast desktop testing of many operating systems |
| Raw QEMU | Manual command-line arguments | Full control and unusual hardware setups |
| virt-manager | Graphical client for libvirt | Persistent desktop VMs with a GUI |
| GNOME Boxes | Simplified libvirt front end | Casual users who prefer a graphical app |
| Proxmox VE | Server platform with web interface | Clusters, servers and production workloads |
The main trade-off is convenience versus lifecycle management. Quickemu does not provide autostart services, live migration, centralized storage pools or remote management; libvirt, virsh and Proxmox VE handle those tasks. A graphical front end called Quickgui exists for users who prefer menus to the terminal.
Practical features for daily use
Several built-in features cover the routine tasks of desktop virtualization without extra tooling:
- Snapshots through
--snapshot create,apply,infoanddelete, implemented with qemu-img on the qcow2 disk. - SSH access through an automatically forwarded host port, printed at startup.
- File sharing through SPICE WebDAV, a 9p export or Samba when the smbd daemon is installed on the host.
- USB passthrough of selected devices, listed by vendor and product ID in the
usb_devicesvariable. - Status files in the VM directory that record the process ID and ports of a running guest.
Snapshots should be created only while the guest is shut down, because internal qcow2 snapshots of a running disk are not consistent unless the memory state is also captured.
Limitations and common mistakes
Most problems with Quickemu come from host prerequisites or unrealistic expectations rather than from the script itself. The following table lists frequent symptoms and their remedies.
| Symptom | Likely cause | Fix |
|---|---|---|
| Guest is extremely slow | KVM unavailable or not permitted | Enable VT-x or AMD-V, join the kvm group |
| Windows 11 refuses to install | swtpm package missing | Install swtpm and keep tpm on |
| quickget download fails | Vendor changed its download page | Update Quickemu to a newer release |
| Poor 3D performance | Virtual GPU instead of real hardware | Use GPU passthrough with VFIO or accept limits |
| Host runs out of memory | Several guests with default RAM | Set ram explicitly in each file |
Quickemu is not a security sandbox for hostile code in any special sense; isolation comes entirely from QEMU and KVM, and shared folders or forwarded ports weaken it. It is also x86_64 and AArch64 oriented, so cross-architecture guests run through slow full emulation.
In plain words
Quickemu lets a Linux user run another operating system inside a window on the same computer with almost no setup. One command fetches the installer for Windows, macOS or a Linux distribution, and a second command starts a ready-to-use virtual computer.
Think of it as a recipe card for a powerful but complicated kitchen appliance. QEMU can do almost anything, but it expects precise instructions; Quickemu writes those instructions for you, so you get a good result without learning every button.
A real-world example
A web developer working on a Fedora laptop needs to check how a new site behaves in Microsoft Edge on Windows 11 and in Safari on macOS. Instead of buying extra test machines, the developer runs quickget windows 11 and quickget macos sonoma, which download the installers and write two configuration files.
The developer edits the Windows file to set ram="6G" and cpu_cores="4", leaving TPM and Secure Boot enabled so that Windows 11 installs without workarounds. After installation, a clean snapshot named baseline is created while the guest is powered off.
Each test session starts with --snapshot apply baseline, so every browser test begins from an identical, reproducible system state. The result is a complete cross-platform test lab on one laptop, set up in about an hour and reset in seconds.