Skip to content

hw/nvme: fix namespace identifiers

Klaus Jensen qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesIn review
  2. v15 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- Revert auto-generation of eui64 (Christoph)
User should set it explicitly.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hw/nvme: enforce common serial per subsystemhw/nvme/nvme.h hw/nvme/subsys.c+8 -00 replies
2/5hw/nvme: do not auto-generate eui64docs/about/deprecated.rst hw/core/machine.c hw/nvme/ns.c+11 -21 reply
3/5hw/nvme: do not auto-generate uuidhw/nvme/ns.c+1 -11 reply
4/5hw/nvme: do not report null uuidhw/nvme/ctrl.c+7 -100 replies
5/5hw/nvme: bump firmware revisionhw/nvme/ctrl.c+1 -10 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigKeith Busch
1/5R-b R-b
2/5R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] hw/nvme: fix namespace identifiers

From: Klaus Jensen <[email protected]>

The namespace identifiers reported by the controller is kind of a mess. See [1,2].

This series should fix this for both the -device nvme,drive=... and -device nvme-ns,... cases.

[1]: https://lore.kernel.org/linux-nvme/[email protected]/
[2]: https://lore.kernel.org/linux-nvme/[email protected]/

Changes since v1:
- Revert auto-generation of eui64 (Christoph)
User should set it explicitly.

Klaus Jensen (5):
hw/nvme: enforce common serial per subsystem
hw/nvme: do not auto-generate eui64
hw/nvme: do not auto-generate uuid
hw/nvme: do not report null uuid
hw/nvme: bump firmware revision

 docs/about/deprecated.rst |  7 +++++++
 hw/core/machine.c         |  4 +++-
 hw/nvme/ctrl.c            | 19 ++++++++-----------
 hw/nvme/ns.c              |  4 ++--
 hw/nvme/nvme.h            |  1 +
 hw/nvme/subsys.c          |  7 +++++++
 6 files changed, 28 insertions(+), 14 deletions(-)
Signature · 1 line
2.35.1