Use this topic when the symptom or planned change has been narrowed to KVM / QEMU → QEMU. Establish effective host/runtime state before changing configuration.
QEMU
A QEMU system VM is a userspace process representing a machine model with CPU, memory and devices; acceleration, device backends and host resources determine how that model maps to real execution.
1. QEMU emulates devices and runs VMs with KVM acceleration.
2. One process per VM.
3. Machine types (q35, pc) are versioned — keep for migration.
4. Logs show start errors.
5. Update QEMU, then restart/migrate VMs to use it.
libvirt → QEMU process → KVM
Context & applicabilityCommon mistakes · platform/version boundaries
Successful QEMU process creation shows the userspace VMM started, but it does not show all virtual devices initialized correctly or the guest reached a healthy state.
Next check: Continue from the first failing step into the responsible KVM/QEMU or specialist branch, then verify the original workload after a minimal controlled change.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
QEMU binary/version → machine/CPU model → accelerator → device models/backends → guest firmware/OS → workload
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- QEMU ≠ KVM; QEMU is userspace and can use multiple accelerators or TCG.
- Machine type and device model are compatibility contracts, not cosmetic labels.
- QEMU process alive ≠ guest OS responsive.
- QEMU command-line/config accepted ≠ every backend resource usable at runtime.
qemu-system-x86_64 --version— QEMU versionps -ef | grep qemu-system— running VM processestail -50 /var/log/libvirt/qemu/<vm>.log— VM QEMU log
ReferenceWhy it matters1 section · depth on demand
In depth
QEMU provides device emulation, firmware loading, migration and block layer features; with KVM acceleration (-accel kvm) CPU instructions run natively. Without KVM, QEMU uses TCG binary translation (slow but can emulate other architectures, e.g. ARM on x86).
qemu-system-x86_64 --version
qemu-system-x86_64 -machine help | head
qemu-system-x86_64 -cpu help | grep -E 'x86-64-v|EPYC|Sapphire'
The QEMU monitor (HMP/QMP) controls a running VM: info status, info block, migrate, device_add.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Successful QEMU process creation shows the userspace VMM started, but it does not show all virtual devices initialized correctly or the guest reached a healthy state.
Reference
qemu-system-x86_64 --version
qemu-img --version
ps -ef | grep qemu | head
QEMU emulates devices and runs the VM process; KVM accelerates CPU and memory. Logs: /var/log/libvirt/qemu/<vm>.log.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in KVM / QEMU → QEMU. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.qemu.org/docs/master/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
KVM / QEMU → QEMU reference map
Fast operational boundaries and evidence limits for KVM / QEMU → QEMU.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Definition/config | Expected KVM / QEMU → QEMU definition or configuration is present | Configured state does not prove runtime behavior |
| Runtime | Relevant KVM/QEMU/libvirt object or process is active without matching errors | Runtime state does not prove dependencies or guest outcome |
| Dependency | Host CPU/memory, storage, network or device backend required by this path is healthy | Local success does not prove the next boundary |
| Acceptance | Original guest/application test succeeds after the change or observation | Required for end-to-end closure |