All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] hw/nvme: make model & firmware version cnofigurable
@ 2026-03-06 16:57 Daniel P. Berrangé
  2026-03-06 16:57 ` [PATCH 1/4] include/block: define constants for NVME string fields Daniel P. Berrangé
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Daniel P. Berrangé @ 2026-03-06 16:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Pierrick Bouvier, Philippe Mathieu-Daudé, Keith Busch,
	Kevin Wolf, Stefan Hajnoczi, Avi Kivity, Fam Zheng, Hanna Reitz,
	Jesper Devantier, qemu-block, Klaus Jensen,
	Daniel P. Berrangé

These are both currently set to QEMU specific hardcoded defaults,
and in common with other block devices, should allow user overrides.

The pre-existing serial field should also be length checked to
detect & report invalid user input instead of silently truncating.

Daniel P. Berrangé (4):
  include/block: define constants for NVME string fields
  hw/nvme: report error for oversized 'serial' parameter
  hw/nvme: add user controlled 'model' property
  hw/nvme: add user controlled 'firmware-version' property

 docs/system/devices/nvme.rst | 10 ++++++++++
 hw/nvme/ctrl.c               | 31 ++++++++++++++++++++++++++++---
 hw/nvme/nvme.h               |  2 ++
 include/block/nvme.h         | 10 +++++++---
 4 files changed, 47 insertions(+), 6 deletions(-)

-- 
2.53.0



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

end of thread, other threads:[~2026-05-21  8:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06 16:57 [PATCH 0/4] hw/nvme: make model & firmware version cnofigurable Daniel P. Berrangé
2026-03-06 16:57 ` [PATCH 1/4] include/block: define constants for NVME string fields Daniel P. Berrangé
2026-03-06 16:57 ` [PATCH 2/4] hw/nvme: report error for oversized 'serial' parameter Daniel P. Berrangé
2026-03-06 16:57 ` [PATCH 3/4] hw/nvme: add user controlled 'model' property Daniel P. Berrangé
2026-03-06 16:57 ` [PATCH 4/4] hw/nvme: add user controlled 'firmware-version' property Daniel P. Berrangé
2026-03-06 17:05 ` [PATCH 0/4] hw/nvme: make model & firmware version cnofigurable Keith Busch
2026-03-10  9:29   ` Daniel P. Berrangé
2026-03-19 15:55 ` Avi Kivity
2026-04-13 17:34 ` Klaus Jensen
2026-05-18 11:44   ` Avi Kivity
2026-05-21  8:17     ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.