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
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
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
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
,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