diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2020-11-06 10:46:01 +0100 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-03-09 11:00:57 +0100 |
commit | e4e430b3d6baa1c908ba71ca37aad87edac98804 (patch) | |
tree | 726602000b64b5c5511a45955e71b9892e7d78fe /qemu-io.c | |
parent | 3862efff316c1d02b41d1362f97dfba812050e53 (diff) |
hw/block/nvme: add simple copy command
Add support for TP 4065a ("Simple Copy Command"), v2020.05.04
("Ratified").
The implementation uses a bounce buffer to first read in the source
logical blocks, then issue a write of that bounce buffer. The default
maximum number of source logical blocks is 128, translating to 512 KiB
for 4k logical blocks which aligns with the default value of MDTS.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions