Skip to contentSkip to conversation

nvmetcli: add support for NVMe passthru target

PATCH In review Nilay Shroff 2 participants 3 messages Jun 11, 2025 – Jul 22, 2025 NVMe

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvmetcli: add support for NVMe passthru target

This change adds the support for configuring NVMe passthru target.

---
 nvmet/__init__.py |   2 +-
 nvmet/nvme.py     | 102 ++++++++++++++++++++++++++++++++++++++++++++++
 nvmetcli          |  77 ++++++++++++++++++++++++++++++++++
 3 files changed, 180 insertions(+), 1 deletion(-)
nvmet/__init__.py +1 -1
index cf172bd..5e2f525 100644
@@ -1,2 +1,2 @@
-from .nvme import Root, Subsystem, Namespace, Port, Host, Referral, ANAGroup,\
+from .nvme import Root, Subsystem, Namespace, Port, Host, Referral, ANAGroup, Passthru, \
     DEFAULT_SAVE_FILE
nvmet/nvme.py +102 -0

126 lines not on this page · raw message

nvmetcli +77 -0

89 lines not on this page · raw message

Signature · 1 line
2.49.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Nilay Shroff

This change adds the support for configuring NVMe passthru target.

---
  nvmet/__init__.py |   2 +-
  nvmet/nvme.py     | 102 ++++++++++++++++++++++++++++++++++++++++++++++
  nvmetcli          |  77 ++++++++++++++++++++++++++++++++++
  3 files changed, 180 insertions(+), 1 deletion(-)

Thanks a lot for submitting this, we have been missing this support and it is really useful addition.

Overall this change is useful and looks good, didn't get a chance to test though.

-ck

#2 lore raw

Hi Christoph,

A gentle ping about this patch. Did you get a chance to review it?

Thanks,
--Nilay

Quoted 22 lines · Chaitanya Kulkarni
Quoted 8 lines · Nilay Shroff

This change adds the support for configuring NVMe passthru target.

---
  nvmet/__init__.py |   2 +-
  nvmet/nvme.py     | 102 ++++++++++++++++++++++++++++++++++++++++++++++
  nvmetcli          |  77 ++++++++++++++++++++++++++++++++++
  3 files changed, 180 insertions(+), 1 deletion(-)

Thanks a lot for submitting this, we have been missing this support and it is really useful addition.

Overall this change is useful and looks good, didn't get a chance to test though.

-ck