linux-stable/drivers/nvme
Christoph Hellwig 632d6145bc nvme-pci: disable namespace identifiers for Qemu controllers
[ Upstream commit 66dd346b84 ]

Qemu unconditionally reports a UUID, which depending on the qemu version
is either all-null (which is incorrect but harmless) or contains a single
bit set for all controllers.  In addition it can also optionally report
a eui64 which needs to be manually set.  Disable namespace identifiers
for Qemu controlles entirely even if in some cases they could be set
correctly through manual intervention.

Reported-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-27 14:41:10 +02:00
..
host nvme-pci: disable namespace identifiers for Qemu controllers 2022-04-27 14:41:10 +02:00
target nvmet: revert "nvmet: make discovery NQN configurable" 2022-03-15 10:39:26 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00