[RFC PATCH v4] hw/nvme:Adding Support for namespace management

2022-03-23 Thread Naveen
From: Naveen Nagar This patch supports namespace management : create and delete operations This patch has been tested with the following command and size of image file for unallocated namespaces is taken as 0GB. nvme_namespace_create will look into the list of unallocated namespaces

[RFC PATCH v3] hw/nvme:Adding Support for namespace management

2021-11-10 Thread Naveen
From: Naveen Nagar This patch supports namespace management : create and delete operations This patch has been tested with the following command and size of image file for unallocated namespaces is taken as 0GB. ns_create will look into the list of unallocated namespaces and it will initialize

hw/nvme: fix verification of select field in namespace attachment

2021-08-23 Thread Naveen
Fix is added to check for reserved value in select field for namespace attachment Signed-off-by: Naveen Nagar Signed-off-by: Klaus Jensen cc: Minwoo Im --- hw/nvme/ctrl.c | 13 + include/block/nvme.h | 5 + 2 files changed, 14 insertions(+), 4 deletions(-) diff --git

[RFC PATCH v2] hw/nvme:Adding Support for namespace management

2021-08-19 Thread Naveen Nagar
From: Naveen This patch supports namespace management : create and delete operations. Since v1: - Modified and moved nvme_ns_identify_common in ns.c file - Added check for CSI field in NS management - Indentation fix in namespace create This patch has been tested with the following command

[RFC PATCH v1] Adding Support for namespace management

2021-08-13 Thread Naveen
,shared=true -drive id=ns4,file=ns4.img,if=none -device nvme-ns,drive=ns4,bus=nvme0,nsid=4,zoned=false,shared=true Please review and suggest if any changes are required. Signed-off-by: Naveen Nagar Reviewed-by: Klaus Jensen Reviewed-by: Padmakar Kalghatgi Reviewed-by: Gollu Appalanaidu Reviewed