Pcornel
Virtualization · Hypervisor Architecture

Device Emulation

Cheat sheet · https://pcornel.dk/topic.php?topic=3431

Back to the Topic

Answer

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.

Remember

  • Emulation = compatibility, not speed.
  • Switch to paravirtual after installing drivers.
  • Emulated devices use more host CPU.

First checks

  • virsh dumpxml <vm> | grep model — emulated device models
  • qemu-system-x86_64 -device help | head — available QEMU devices
  • lspci — guest view

Verify in this order

guest I/O → trap → emulator → host backend

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/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=3431

Confirmation

Confirm action

Continue?