Pcornel
Virtualization · Hypervisor Architecture

Virtual PCI Devices

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

Back to the Topic

Answer

Virtual PCI devices are the PCI or PCIe slots and devices in a VM's virtual chipset — controllers, NICs, GPUs or passed-through hardware — and the chosen machine type (for example q35 vs i440fx) decides whether PCIe is available.

Remember

  • i440fx has no native PCIe; q35 does.
  • Slot limits depend on machine type.
  • Passthrough devices need correct placement.

First checks

  • virsh dumpxml <vm> | grep -A3 hostdev — assigned PCI devices
  • lspci -nnk — guest sees devices and drivers
  • Get-VMAssignableDevice — Hyper-V DDA devices

Verify in this order

PCI device → emulated/PV/passthrough → guest driver

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=3430

Confirmation

Confirm action

Continue?