Skip to content

hw/block/nvme: add simple copy command

Klaus Jensen qemu-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 6 repliesIn review
  2. v42 patches 0 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/22 patches0 repliesSuperseded
v2 posting 1/21 patch3 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v5 from the cover letter

* rebased on nvme-next (support for zoned namespaces)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hw/block/nvme: remove unused parameter in check zone writehw/block/nvme.c+3 -40 replies
2/5hw/block/nvme: refactor zone resource managementhw/block/nvme.c+103 -1170 replies
3/5hw/block/nvme: pull write pointer advancement to separate functionhw/block/nvme.c+11 -50 replies
4/5nvme: updated shared header for copy commandinclude/block/nvme.h+43 -22 replies
5/5hw/block/nvme: add simple copy commandhw/block/nvme-ns.c hw/block/nvme-ns.h hw/block/nvme.c +2 more+272 -11 reply

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMinwoo ImStefan HajnocziKeith Busch
SeriesR-b
1/5
2/5
3/5
4/5R-b A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/5] hw/block/nvme: add simple copy command

From: Klaus Jensen <[email protected]>

Add support for TP 4065 ("Simple Copy Command").

Changes for v5

* rebased on nvme-next (support for zoned namespaces)

Changes for v4

* merge for-loops (Keith)

Changes for v3

* rebased on nvme-next
* changed the default msrc value to a more reasonable 127 from 255 to better align with the default mcl value of 128.

Changes for v2

* prefer style that aligns with existing NvmeIdCtrl field enums (Minwoo)
* swapped elbat/elbatm fields in copy source range. I've kept the R-b and A-b from Minwoo and Stefan since this is a non-functional change (the device does not use these fields at all).

Klaus Jensen (5):
hw/block/nvme: remove unused parameter in check zone write hw/block/nvme: refactor zone resource management hw/block/nvme: pull write pointer advancement to separate function
nvme: updated shared header for copy command hw/block/nvme: add simple copy command

 hw/block/nvme-ns.h    |   4 +
 hw/block/nvme.h       |   1 +
 include/block/nvme.h  |  45 +++-
 hw/block/nvme-ns.c    |   8 +
 hw/block/nvme.c       | 494 +++++++++++++++++++++++++++++++-----------
 hw/block/trace-events |   7 +
 6 files changed, 431 insertions(+), 128 deletions(-)
Signature · 1 line
2.30.0