QEMU
QEMU is an open-source machine emulator and virtualizer that runs operating systems and programs for different computer architectures.
Embedded Software with Rust
QEMU is an open-source machine emulator and virtualizer capable of emulating processors and complete computer systems.
- How it is used
- Runs embedded Rust firmware in a simulated target to test and iterate without relying on physical boards.
- How deep it goes
- Explains system-mode board emulation and a bare-metal run setup, while noting incomplete peripheral modeling and unsupported RTT.
- Examples
- Demonstrates adapting STM32F103-targeted firmware to STM32VLDISCOVERY and using semihosting for output.
- What you can do after
- Operate QEMU to run bare-metal Rust firmware on a modeled Cortex-M board and produce semihosted output.
Rust in Action: Systems programming concepts and techniques
QEMU is an open-source machine emulator and virtualizer that runs operating systems and programs for multiple computer architectures.
- How it is used
- Provides the virtualization component for developing and rapidly rerunning an operating system kernel.
- How deep it goes
- Defines virtualization and demonstrates installation verification, but does not explain QEMU command-line operation.
- Examples
- Uses qemu-system-x86_64 --version to verify installation and displays QEMU emulator version 4.2.1.
- What you can do after
- Operate/configure QEMU by placing qemu-system-x86_64 on PATH and checking its installed version.
Read how Rust in Action: Systems programming concepts and techniques explains QEMU →
Related concepts
- emulationkind of · Emulation is the reproduction of a computing system’s behavior in software so that software or operations designed for that system can run in another environment.
- hypervisorkind of · A hypervisor is software or firmware that creates and manages virtual machines while mediating their access to physical computing resources.
- semihostinguses · Semihosting is a development technique in which code on a target device requests services such as text output from a host debugger through a debug connection.
Questions about QEMU
What is QEMU?
QEMU is an open-source machine emulator and virtualizer that runs operating systems and programs for different computer architectures.
Which Manning books explain QEMU?
Embedded Software with Rust and Rust in Action: Systems programming concepts and techniques.
What is the difference between QEMU and Renode?
QEMU is an open-source machine emulator and virtualizer that runs operating systems and programs for different computer architectures. Renode is an open-source simulation and emulation framework for modeling complex embedded systems with processors, peripherals, networking, and multicore configurations.
What is QEMU a kind of?
QEMU is a kind of chipset emulator. A chipset emulator is software that models a processor or hardware platform so software built for that platform can execute in another environment.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

