[PATCH 3/3] nvme-pci: disable namespace identifiers for Qemu controllers

Christoph Hellwig hch at lst.de
Wed Apr 13 08:34:32 PDT 2022


On Wed, Apr 13, 2022 at 10:40:47AM +0200, Klaus Jensen wrote:
> On Apr 13 07:34, Niklas Cassel wrote:
> > On Wed, Apr 13, 2022 at 06:49:05AM +0200, Christoph Hellwig wrote:
> > > Qemu unconditionally reports a UUID, which depending on the qemu version
> > 
> > Since it appears that both older and current QEMU versions are not
> > implementing this properly, perhaps you should also consider adding
> > the pci vendor and device id used by older QEMU versions?
> > 
> > QEMU nvme pci vendor and device id was changed in commit:
> > https://github.com/qemu/qemu/commit/6eb7a071292a2f11065127ac152fa24248806021
> > 
> > Which was first included in QEMU v5.2.0.
> > 
> 
> That is a good point Niklas. +1 for that. The driver already knows about
> that ID.

5.2.0 is also the first qemu that supports the namespace descriptor
list, that's why I didn't include it.



More information about the Linux-nvme mailing list