diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-05 11:58:07 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-05-11 12:08:24 +0200 |
commit | c03e7ef12a954f715a4b56e3a9595f8253987701 (patch) | |
tree | b623af2f82c5ba1ddcd1c286144fa19f71adc5c8 /hw/block/nvme.h | |
parent | b91127edd0ff96f27f1e58e47f4e9f9d6a0fed02 (diff) | |
download | qemu-c03e7ef12a954f715a4b56e3a9595f8253987701.zip qemu-c03e7ef12a954f715a4b56e3a9595f8253987701.tar.gz qemu-c03e7ef12a954f715a4b56e3a9595f8253987701.tar.bz2 |
nvme: Implement Write Zeroes
Signed-off-by: Keith Busch <keith.busch@intel.com>
[hch: ported over from qemu-nvme.git to mainline]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
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 8fb0c10..a0d1564 100644 --- a/hw/block/nvme.h +++ b/hw/block/nvme.h @@ -179,6 +179,7 @@ enum NvmeIoCommands { NVME_CMD_READ = 0x02, NVME_CMD_WRITE_UNCOR = 0x04, NVME_CMD_COMPARE = 0x05, + NVME_CMD_WRITE_ZEROS = 0x08, NVME_CMD_DSM = 0x09, }; |