qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] hw/nvme: fix namespace identifiers
@ 2022-04-29  8:33 Klaus Jensen
  2022-04-29  8:33 ` [PATCH v2 1/5] hw/nvme: enforce common serial per subsystem Klaus Jensen
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Klaus Jensen @ 2022-04-29  8:33 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, qemu-block, Klaus Jensen,
	Philippe Mathieu-Daudé, Yanan Wang, Keith Busch,
	Luis Chamberlain, Klaus Jensen, Christoph Hellwig

From: Klaus Jensen <k.jensen@samsung.com>

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/20220224192845.1097602-1-hch@lst.de/
  [2]: https://lore.kernel.org/linux-nvme/20220413044905.376785-1-hch@lst.de/

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(-)

-- 
2.35.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-05-12  9:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-29  8:33 [PATCH v2 0/5] hw/nvme: fix namespace identifiers Klaus Jensen
2022-04-29  8:33 ` [PATCH v2 1/5] hw/nvme: enforce common serial per subsystem Klaus Jensen
2022-04-29  8:33 ` [PATCH v2 2/5] hw/nvme: do not auto-generate eui64 Klaus Jensen
2022-04-29 15:17   ` Christoph Hellwig
2022-04-29  8:33 ` [PATCH v2 3/5] hw/nvme: do not auto-generate uuid Klaus Jensen
2022-04-29 15:17   ` Christoph Hellwig
2022-04-29  8:33 ` [PATCH v2 4/5] hw/nvme: do not report null uuid Klaus Jensen
2022-04-29  8:33 ` [PATCH v2 5/5] hw/nvme: bump firmware revision Klaus Jensen
2022-05-12  9:27 ` [PATCH v2 0/5] hw/nvme: fix namespace identifiers Klaus Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).