aboutsummaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2020-09-30 10:15:50 -0700
committerKlaus Jensen <k.jensen@samsung.com>2020-10-27 11:29:25 +0100
commit2fbbecc5cd90ec00027a155f7044f2f70ed84f30 (patch)
tree067ae4e920608ea59172ee57254f3b1ddb5865f3 /include/block
parenta740facfbd05c9dd630e1f992a9dc6b5444096a7 (diff)
downloadqemu-2fbbecc5cd90ec00027a155f7044f2f70ed84f30.zip
qemu-2fbbecc5cd90ec00027a155f7044f2f70ed84f30.tar.gz
qemu-2fbbecc5cd90ec00027a155f7044f2f70ed84f30.tar.bz2
hw/block/nvme: support per-namespace smart log
Let the user specify a specific namespace if they want to get access stats for a specific namespace. Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/nvme.h b/include/block/nvme.h
index 58647bc..868cf53 100644
--- a/include/block/nvme.h
+++ b/include/block/nvme.h
@@ -849,6 +849,7 @@ enum NvmeIdCtrlFrmw {
};
enum NvmeIdCtrlLpa {
+ NVME_LPA_NS_SMART = 1 << 0,
NVME_LPA_EXTENDED = 1 << 2,
};