diff options
author | Keith Busch | 2020-09-30 19:15:50 +0200 |
---|---|---|
committer | Klaus Jensen | 2020-10-27 11:29:25 +0100 |
commit | 2fbbecc5cd90ec00027a155f7044f2f70ed84f30 (patch) | |
tree | 067ae4e920608ea59172ee57254f3b1ddb5865f3 /include/block | |
parent | hw/block/nvme: fix log page offset check (diff) | |
download | qemu-2fbbecc5cd90ec00027a155f7044f2f70ed84f30.tar.gz qemu-2fbbecc5cd90ec00027a155f7044f2f70ed84f30.tar.xz qemu-2fbbecc5cd90ec00027a155f7044f2f70ed84f30.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/nvme.h b/include/block/nvme.h index 58647bcdad..868cf53f0b 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, }; |