QEMU
Cheat sheet · https://pcornel.dk/topic.php?topic=2899
Answer
QEMU is the user-space emulator that runs each VM as a process, providing virtual hardware (disks, NICs, display) and using KVM for CPU acceleration. Disk images are usually qcow2 or raw.
Remember
Each running VM is a qemu-kvm/qemu-system process on the host. qcow2 supports snapshots and thin provisioning; raw is faster. Check images with qemu-img info and qemu-img check.
First checks
qemu-img info <image>— disk image detailsvirsh list --all— VMs and statevirsh dominfo <vm>— CPU, memory, autostartvirsh domiflist <vm> / domblklist <vm>— NICs and diskslscpu | grep -i virtualization— hardware virtualization support
Verify in this order
libvirt starts a QEMU process → virtual devices → disk image and network backends → guest boots
Where it usually breaks
First mismatch in hardware/kernel capability → scheduler/mm/device → cgroup/namespace → process/thread → service/runtime → workload behavior/counters; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2899