summaryrefslogtreecommitdiffstats
path: root/hw/block/nvme.h
diff options
context:
space:
mode:
authorGollu Appalanaidu2021-02-21 19:39:36 +0100
committerKlaus Jensen2021-03-09 11:00:57 +0100
commit67ce28a1fdcf73e2c026dbc43bb8fb6dc9a56aed (patch)
tree1815efe22696f8ec46b8379bd791c106a749a006 /hw/block/nvme.h
parenthw/block/nvme: add trace event for zone read check (diff)
downloadqemu-67ce28a1fdcf73e2c026dbc43bb8fb6dc9a56aed.tar.gz
qemu-67ce28a1fdcf73e2c026dbc43bb8fb6dc9a56aed.tar.xz
qemu-67ce28a1fdcf73e2c026dbc43bb8fb6dc9a56aed.zip
hw/block/nvme: report non-mdts command size limit for dsm
Dataset Management is not subject to MDTS, but exceeded a certain size per range causes internal looping. Report this limit (DMRSL) in the NVM command set specific identify controller data structure. Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com> 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/block/nvme.h b/hw/block/nvme.h
index f45ace0cff..294fac1def 100644
--- a/hw/block/nvme.h
+++ b/hw/block/nvme.h
@@ -171,6 +171,8 @@ typedef struct NvmeCtrl {
QTAILQ_HEAD(, NvmeAsyncEvent) aer_queue;
int aer_queued;
+ uint32_t dmrsl;
+
NvmeSubsystem *subsys;
NvmeNamespace namespace;