tag
QEMU
6 posts
How QEMU Emulates Hardware: Device Models, MMIO, and TCG
Every device your guest sees is C code responding to memory addresses. Once you see the trick, QEMU stops being mysterious and its performance behaviour becomes predictable.
Fixing virt-install on arm64: Security Violation, dnsmasq Port 53, and the qemu:///session Trap
Four failures stand between a correct virt-install command and a booting arm64 guest. None of them are documented well, and the error messages point away from the causes.
KVM vs QEMU vs libvirt: Who Does What
Three pieces, one running VM. Each exists because of a specific gap the layer below it leaves open — which is a better way to learn them than three definitions.
What ioctl(KVM_RUN) Does: The VM Exit Loop Explained
One system call, looped forever, is what running a virtual machine physically is. Here's what happens inside it — and why some VM exits cost far more than others.
virt-install Explained: Every Flag for an arm64 Guest
Twelve flags look like a lot to memorize. They're answers to seven questions — and once you know the questions, you can write the command for any guest from scratch.
Why VirtIO Is Faster Than Emulated Devices: Virtqueues and vhost-net Explained
Emulated devices are slow because they faithfully imitate hardware that was never designed for software. VirtIO throws that away and lets the guest cooperate instead.