Re: [RFC PATCH : v3 2/2] Implementation of nvme-mi plugin in nvme-cli

2021-09-06 Thread Mohit Kapoor
On Tue, Aug 03, 2021 at 02:34:46PM +0530, Mohit Kapoor wrote: From: mohit kapoor Subject: [RFC PATCH : v3 2/2] Implementation of nvme-mi plugin in nvme-cli Hello All, Request to kindly provide your valuable feedback for the patches shared for nvme-mi over QEMU and nvme-cli. Looking forward

[RFC PATCH : v3 2/2] Implementation of nvme-mi plugin in nvme-cli

2021-08-03 Thread Mohit Kapoor
From: mohit kapoor Subject: [RFC PATCH : v3 2/2] Implementation of nvme-mi plugin in nvme-cli The enclosed patch contains the implementation of a new nvme mi(Management Interface) plugin. By adding the mi plugin into the nvme-cli application, users have the ability to test the mi commands

Re: [RFC PATCH nvme-cli 2/2] nvme-cli/plugins/mi:add support

2021-07-19 Thread Mohit Kapoor
On Fri, Jul 09, 2021 at 09:04:30AM -0700, Keith Busch wrote: +int hal_init() +{ +int retval = -1; +switch (GetSidebandInterface()) { +case qemu_nvme_mi: +retval = qemu_mi_init(); +break; +default: +break; +} +return retval; +} + +int hal_open() +{ +

Re: [RFC PATCH nvme-cli 2/2] nvme-cli/plugins/mi:add support

2021-07-09 Thread Mohit Kapoor
Signed-off-by: Mohit Kapoor --- diff --git a/Makefile b/Makefile index 86eb7c6..3ea82dd 100644 --- a/Makefile +++ b/Makefile @@ -83,6 +83,13 @@ PLUGIN_OBJS := \ plugins/wdc/wdc-utils.o \ plugins/huawei/huawei-nvme.o \ plugins/netapp/netapp-nvme.o \ + plugins/mi/util/hal/mi-nvme-hal