Re: [PATCH v2] vfio: selftests: Add NVMe driver

From: Christoph Hellwig

Date: Fri Dec 04 2026 - 03:25:04 EST


On Fri, Dec 04, 2026 at 01:52:03AM +0000, Josh Hilke wrote:
> Add a VFIO selftest driver for NVMe controllers. It binds to any PCI
> function with the NVMe PCI class code 01:08:02, so vfio_pci_driver_test
> can run on the NVMe SSDs that are common in servers, and on the nvme
> device that QEMU emulates.

Err, what? I really don't think the kernel tree is the place for
userland nvme drivers. Use one of the existing well-tested ones like
SPDK to write your tests, please.