GPU
Cheat sheet · https://pcornel.dk/topic.php?topic=3475
Answer
A guest GPU may be an emulated/synthetic display device, a mediated virtual GPU or a passed-through physical device. These models have different driver, isolation, migration and performance characteristics.
Remember
- A guest display adapter is not proof of hardware-accelerated GPU access.
- vGPU/mediated GPU and full passthrough are different ownership models.
- Driver compatibility exists at both host/platform and guest layers.
- Passthrough or specialized GPU modes can restrict migration/snapshots depending on platform.
First checks
nvidia-smi— guest/host GPU visiblelspci -nnk | grep -A3 -i vga— GPU and drivermdevctl list— mediated/vGPU devices
Verify in this order
GPU → passthrough/mdev → guest driver
Where it usually breaks
First mismatch in host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use; preserve identity/native error/pre-state before mutation.
VM Hardware → Virtual Devices → GPU reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Virtual display | Basic synthetic/emulated graphics | May lack acceleration |
| Mediated/vGPU | Shared physical GPU resources | Platform-specific |
| Passthrough | Dedicated physical function/device | Ownership/mobility constraints |
| Guest workload | Graphics/compute API use | Functional proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3475