diff options
author | Minwoo Im <minwoo.im.dev@gmail.com> | 2021-01-24 11:54:49 +0900 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-03-09 11:00:57 +0100 |
commit | adc36b8d21204c00643016d8766a5214e3d54b5b (patch) | |
tree | 58a06318500d1aa4892be1706c8a059fe8cb1d26 /include/block | |
parent | e36a261d4bf7057a8ffee336422210b58c661a21 (diff) | |
download | qemu-adc36b8d21204c00643016d8766a5214e3d54b5b.zip qemu-adc36b8d21204c00643016d8766a5214e3d54b5b.tar.gz qemu-adc36b8d21204c00643016d8766a5214e3d54b5b.tar.bz2 |
hw/block/nvme: add NMIC enum value for Identify Namespace
Added Namespace Multi-path I/O and Namespace Sharing Capabilities (NMIC)
field to support shared namespace from controller(s).
This field is in Identify Namespace data structure in [30].
Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Tested-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/block/nvme.h b/include/block/nvme.h index f1d3a78..3db2b9b 100644 --- a/include/block/nvme.h +++ b/include/block/nvme.h @@ -1203,6 +1203,10 @@ enum NvmeNsIdentifierType { NVME_NIDT_CSI = 0x04, }; +enum NvmeIdNsNmic { + NVME_NMIC_NS_SHARED = 1 << 0, +}; + enum NvmeCsi { NVME_CSI_NVM = 0x00, NVME_CSI_ZONED = 0x02, |