Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsq

QEMU

QEMU is an open-source machine emulator and virtual machine monitor that can model a complete computer with a wide range of hardware.

QEMU is an open-source program that emulates a complete computer, including its processor, memory and devices. It can emulate many processor architectures, so code built for one CPU can run on another. QEMU can also act as a virtual machine monitor, a user-space process that provides the devices and machine model for one virtual machine. It is one of the most widely used tools in virtualization.

In pure emulation, QEMU translates guest instructions into host instructions, which is flexible but slow. When the guest and host share an architecture, QEMU can work with KVM instead. KVM runs in the kernel and handles CPU and memory virtualization, so guest code runs directly on the processor. QEMU then handles devices, firmware and the rest of the machine.

QEMU supports decades of hardware, from old disk controllers to modern paravirtual devices. This breadth lets it run almost any operating system, but it also means a large amount of code. MicroVM monitors such as Firecracker and Cloud Hypervisor offer far fewer devices to reduce boot time and attack surface. Cloud providers, desktop tools and some sandbox platforms build on QEMU.

Related terms