From adc36b8d21204c00643016d8766a5214e3d54b5b Mon Sep 17 00:00:00 2001 From: Minwoo Im Date: Sun, 24 Jan 2021 11:54:49 +0900 Subject: 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 Tested-by: Klaus Jensen Reviewed-by: Klaus Jensen Reviewed-by: Keith Busch Signed-off-by: Klaus Jensen --- include/block/nvme.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/block') diff --git a/include/block/nvme.h b/include/block/nvme.h index f1d3a78658..3db2b9b4cb 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, -- cgit v1.2.3-55-g7522