From: Klaus Jensen <k.jen...@samsung.com> 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(-) -- 2.30.0