NVMe
Cheat sheet · https://pcornel.dk/topic.php?topic=3468
Answer
A hypervisor can implement a virtual NVMe controller backed by a virtual disk on any supported backend. This differs from PCIe/NVMe passthrough where the guest controls a physical device more directly.
Remember
- Virtual NVMe does not prove physical NVMe backing.
- Guest needs an NVMe-capable driver/OS stack.
- Virtual NVMe and PCI passthrough have different isolation/migration/management properties.
- Backend latency can dominate regardless of guest controller name.
First checks
lsblk -d -o NAME,TRAN— guest sees nvmevirsh dumpxml <vm> | grep nvme— NVMe controllerGet-VMHardDiskDrive <vm>— Hyper-V (SCSI, NVMe via DDA)
Verify in this order
guest NVMe driver → virtual/physical NVMe → storage
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 → Storage Controllers → NVMe reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Virtual NVMe | Hypervisor-provided NVMe interface | Can use non-NVMe backend |
| NVMe passthrough | Physical device assigned | Different ownership model |
| Guest namespace | NVMe block device view | Virtual presentation |
| Backend | Host storage path | Determines real latency/capacity |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3468