skip to content
Ivan's wiki
Site Tools
Search
Tools
Show pagesource
Backlinks
Recent Changes
Media Manager
Sitemap
>
Recent Changes
Media Manager
Sitemap
qemu
This page is read only. You can view the source, but not change it.
# QEMU **QEMU** is an emulator and virtualizer. Emulate foreign-architecture binaries (ARM, RISC-V) on x86 to test cross-compiled code without hardware. Or use KVM acceleration to run same-architecture VMs at near-native speed. In embedded work, QEMU boots a cross-compiled kernel or bootloader on x86 to verify it before touching real hardware. In server/VM work, QEMU with KVM runs a guest OS at speeds close to bare metal, delegating instruction execution directly to the CPU. ```bash qemu-system-arm -M versatilepb -kernel zImage -dtb versatile.dtb \ -append "console=ttyAMA0" -nographic ``` This boots an ARM kernel on x86. `-M` selects the board type (which determines memory layout and peripherals), `-kernel` loads your cross-compiled kernel, `-dtb` provides the device tree, `-append` sets kernel command-line arguments, and `-nographic` redirects the serial console to your terminal instead of opening a GUI window. ## Concepts 1. [Basics](/qemu-basics) 2. [Kernel booting](/qemu-kernel-booting) 3. [User mode](/qemu-user-mode) 4. [KVM acceleration](/qemu-kvm) 5. [GDB debugging](/qemu-gdb) 6. [Disk images](/qemu-disk-images) 7. [Networking](/qemu-networking) 8. [Serial console](/qemu-serial-console) 9. [Machine types](/qemu-machine-types) 10. [Disk I/O](/qemu-disk-io)
Page Tools
Show pagesource
Backlinks
Back to top