diff options
author | Gollu Appalanaidu | 2021-02-09 18:29:42 +0100 |
---|---|---|
committer | Klaus Jensen | 2021-03-18 12:34:51 +0100 |
commit | 3e1da158c47f3a6f5d48794f99fe01096531ec2e (patch) | |
tree | 0ab9fff19856966b0e13789e8610780f782206ba /hw/block/nvme.h | |
parent | hw/block/nvme: end-to-end data protection (diff) | |
download | qemu-3e1da158c47f3a6f5d48794f99fe01096531ec2e.tar.gz qemu-3e1da158c47f3a6f5d48794f99fe01096531ec2e.tar.xz qemu-3e1da158c47f3a6f5d48794f99fe01096531ec2e.zip |
hw/block/nvme: add verify command
See NVM Express 1.4, section 6.14 ("Verify Command").
Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
[k.jensen: rebased, refactored for e2e]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'hw/block/nvme.h')
-rw-r--r-- | hw/block/nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/nvme.h b/hw/block/nvme.h index 115d017765..11c7fcc317 100644 --- a/hw/block/nvme.h +++ b/hw/block/nvme.h @@ -98,6 +98,7 @@ static inline const char *nvme_io_opc_str(uint8_t opc) case NVME_CMD_COMPARE: return "NVME_NVM_CMD_COMPARE"; case NVME_CMD_WRITE_ZEROES: return "NVME_NVM_CMD_WRITE_ZEROES"; case NVME_CMD_DSM: return "NVME_NVM_CMD_DSM"; + case NVME_CMD_VERIFY: return "NVME_NVM_CMD_VERIFY"; case NVME_CMD_COPY: return "NVME_NVM_CMD_COPY"; case NVME_CMD_ZONE_MGMT_SEND: return "NVME_ZONED_CMD_MGMT_SEND"; case NVME_CMD_ZONE_MGMT_RECV: return "NVME_ZONED_CMD_MGMT_RECV"; |