Use this when an old or unusual guest needs emulated hardware, or when emulated devices cause poor performance.
Device Emulation
Device emulation is software in the hypervisor (for example QEMU) that imitates real hardware such as an e1000 NIC, IDE disk or VGA card, so unmodified guests work — at the cost of more CPU overhead than paravirtual devices.
1. Device emulation implements hardware in software (QEMU, Hyper-V Gen1).
2. Most compatible, slowest.
3. Use for install media and legacy guests.
4. Replace with PV drivers.
5. Emulation bugs are a security surface — patch QEMU.
guest I/O → trap → emulator → host backend
Context & applicabilityCommon mistakes · platform/version boundaries
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 Common mistakes Narrow the fault
- Leaving emulated e1000/IDE devices on production VMs after installation.
- Expecting emulated devices to support features like multiqueue or TRIM.
- Changing a Windows boot disk from IDE to virtio without installing the driver first.
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.
- Emulation = compatibility, not speed.
- Switch to paravirtual after installing drivers.
- Emulated devices use more host CPU.
virsh dumpxml <vm> | grep model— emulated device modelsqemu-system-x86_64 -device help | head— available QEMU deviceslspci— guest view
ReferenceWhy it matters1 section · depth on demand
How device emulation works
The hypervisor (QEMU on KVM, the VMX process on ESXi) presents a model of real hardware — an e1000 NIC, IDE controller, PS/2 keyboard, VGA card. Every guest I/O to these devices traps to the hypervisor, which emulates the register behaviour in software. This works with any guest OS and no drivers, but costs CPU per I/O and limits throughput.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Device emulation implements real hardware models in software (e.g. Intel e1000 NIC, LSI/SATA controllers, Cirrus VGA). Every register access by the guest causes a VM exit and a trip into the device model — compatible with any OS but CPU-expensive and slow.
Use emulated devices only for installation of OSes without paravirtual drivers, then switch: e1000 → VirtIO/VMXNET3, IDE/SATA → VirtIO SCSI/PVSCSI. A 10 GbE emulated e1000 often tops out far below line rate while consuming a full core.
Emulated vs paravirtual devices
| Device | Emulated | Paravirtual |
|---|---|---|
| NIC | e1000, rtl8139 | virtio-net, VMXNET3, Hyper-V synthetic |
| Disk controller | IDE, LSI SAS, AHCI | virtio-scsi/virtio-blk, PVSCSI, Hyper-V SCSI |
| Display | VGA, Cirrus | virtio-gpu, SVGA |
Use emulated devices for installers and very old guests, then switch to paravirtual after installing drivers.
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 Hypervisor Architecture → Device Emulation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%