Use this when adding devices to a VM or when PCIe devices or passthrough need a PCIe-capable machine type.
Virtual PCI Devices
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.
1. Virtual PCI devices are emulated, paravirtual or passed-through.
2. Passthrough pins the VM to the host.
3. Check IOMMU groups.
4. Guest needs drivers.
5. Some devices break live migration.
PCI device → emulated/PV/passthrough → guest driver
Context & applicabilityCommon mistakes · platform/version boundaries
- Adding many NICs or disks on i440fx and running out of PCI slots.
- Hot-plug not available because no free PCIe root ports were added.
- Device order changing after adding devices, renaming NICs in the guest.
Operational reference
Fast context before you go deeper.
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.
- i440fx has no native PCIe; q35 does.
- Slot limits depend on machine type.
- Passthrough devices need correct placement.
virsh dumpxml <vm> | grep -A3 hostdev— assigned PCI deviceslspci -nnk— guest sees devices and driversGet-VMAssignableDevice— Hyper-V DDA devices
ReferenceWhy it matters1 section · depth on demand
Practical limits
VMs have a limited number of PCI slots and bridges per machine type (i440fx vs q35 on KVM; PCIe slots on newer VMware hardware versions). Hot-plugging devices needs PCIe root ports or hot-plug-capable slots. Adding devices can change guest device names or order (Linux NIC names, Windows drive letters), so plan changes.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Virtual PCI devices are what the guest enumerates on its virtual PCI bus: emulated chipsets, NICs, storage controllers, GPUs, plus passed-through physical devices. Machine type determines topology — QEMU q35 provides PCIe root ports (needed for PCIe passthrough and hot-plug), i440fx a legacy PCI bus.
lspci -nn # inside a guest: what devices are visible
qm config 100 | grep -E 'machine|hostpci|net|scsi'
Too many devices on one bus or wrong slot numbers can change NIC naming inside Linux guests after hardware changes.
Machine types (KVM)
| Type | Notes |
|---|---|
| i440fx | Legacy PCI bus, wide compatibility |
| q35 | PCIe root ports, needed for PCIe passthrough and modern devices |
Changing machine type on an existing Windows VM can trigger driver re-detection and reactivation; test on a clone first.
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 → Virtual PCI Devices. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%