All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] hw/nvme: support online resize
@ 2026-08-03  8:30 Alexander Mikhalitsyn
  2026-08-03  8:30 ` [PATCH v3 1/2] hw/nvme: initialize ns->subsys for n->namespace Alexander Mikhalitsyn
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexander Mikhalitsyn @ 2026-08-03  8:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: Stéphane Graber, Alexander Mikhalitsyn, Keith Busch,
	Klaus Jensen, qemu-block, Jesper Devantier, Alexander Mikhalitsyn

From: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>

Dear friends,

This patchset is aimed to support online resize for NVMe emulated
device. My approach is simple - I just implement (BlockDevOps *)->resize_cb()
callback and ensure that AER notification is fired to all controllers using
a namespace that is being resized.

Testing.

I manually validated this with Debian 13 VM (a resized disk was a root disk) and
Windows Server 2022 (a resized disk was a secondary one).

Git tree:
https://gitlab.com/mihalicyn/qemu/-/commits/nvme-resize

Changelog for version 3:
- rebased

Changelog for version 2:
- checkpatch fixes
- rebased
- CI is green (https://gitlab.com/mihalicyn/qemu/-/pipelines/2602102750)

Kind regards,
Alex

Alexander Mikhalitsyn (2):
  hw/nvme: initialize ns->subsys for n->namespace
  hw/nvme: support online resize

 hw/nvme/ctrl.c | 10 ++++++++
 hw/nvme/ns.c   | 68 +++++++++++++++++++++++++++++++++++++++++++++++++-
 hw/nvme/nvme.h |  2 ++
 3 files changed, 79 insertions(+), 1 deletion(-)

-- 
2.47.3



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

end of thread, other threads:[~2026-09-07  8:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03  8:30 [PATCH v3 0/2] hw/nvme: support online resize Alexander Mikhalitsyn
2026-08-03  8:30 ` [PATCH v3 1/2] hw/nvme: initialize ns->subsys for n->namespace Alexander Mikhalitsyn
2026-08-03  8:30 ` [PATCH v3 2/2] hw/nvme: support online resize Alexander Mikhalitsyn
2026-08-03 13:42 ` [PATCH v3 0/2] " Klaus Jensen
2026-08-31  7:04   ` Alexander Mikhalitsyn
2026-09-07  7:39     ` Klaus Jensen
2026-09-07  8:24       ` Alexander Mikhalitsyn

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.