public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
* [PATCH 0/4] [RFC] hw/nvme: add basic live migration support
@ 2026-02-17 15:25 Alexander Mikhalitsyn
  2026-02-17 15:25 ` [PATCH 1/4] hw/nvme: add migration blockers for non-supported cases Alexander Mikhalitsyn
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Alexander Mikhalitsyn @ 2026-02-17 15:25 UTC (permalink / raw)
  To: qemu-devel
  Cc: Jesper Devantier, Peter Xu, Klaus Jensen, Fabiano Rosas,
	qemu-block, Keith Busch, Alexander Mikhalitsyn

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

Dear friends,

This patchset adds basic live migration support for
QEMU emulated NVMe device.

Implementation has some limitations:
- only one NVMe namespace is supported
- SMART counters are not preserved
- CMB is not supported
- PMR is not supported
- SPDM is not supported
- SR-IOV is not supported
- AERs are not fully supported

I believe this is something I can support in next patchset versions or
separately on-demand (when usecase appears). But I wanted to share this
first version as RFC to get some feedback on this in case if I'm approaching
it wrong.

Kind regards,
Alex

Alexander Mikhalitsyn (4):
  hw/nvme: add migration blockers for non-supported cases
  hw/nvme: split nvme_init_sq/nvme_init_cq into helpers
  migration: add VMSTATE_VARRAY_OF_POINTER_TO_STRUCT_ALLOC
  hw/nvme: add basic live migration support

 hw/nvme/ctrl.c              | 505 +++++++++++++++++++++++++++++++++---
 hw/nvme/nvme.h              |   5 +
 hw/nvme/trace-events        |   9 +
 include/migration/vmstate.h |  21 ++
 migration/vmstate-types.c   |  88 +++++++
 5 files changed, 598 insertions(+), 30 deletions(-)

-- 
2.47.3



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

end of thread, other threads:[~2026-03-13 14:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17 15:25 [PATCH 0/4] [RFC] hw/nvme: add basic live migration support Alexander Mikhalitsyn
2026-02-17 15:25 ` [PATCH 1/4] hw/nvme: add migration blockers for non-supported cases Alexander Mikhalitsyn
2026-02-17 15:25 ` [PATCH 2/4] hw/nvme: split nvme_init_sq/nvme_init_cq into helpers Alexander Mikhalitsyn
2026-02-17 15:25 ` [PATCH 3/4] migration: add VMSTATE_VARRAY_OF_POINTER_TO_STRUCT_ALLOC Alexander Mikhalitsyn
2026-03-02 21:47   ` Peter Xu
2026-03-04  9:43     ` Alexander Mikhalitsyn
2026-03-04 16:40       ` Peter Xu
2026-03-05  8:55         ` Alexander Mikhalitsyn
2026-02-17 15:25 ` [PATCH 4/4] hw/nvme: add basic live migration support Alexander Mikhalitsyn
2026-02-27  9:59 ` [PATCH 0/4] [RFC] " Klaus Jensen
2026-03-02  8:43   ` Alexander Mikhalitsyn
2026-03-13 14:24   ` Alexander Mikhalitsyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox