Skip to content

nvme-cli: update Firmware Activate to Firmware Commit

Minwoo Im linux-nvme 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes to V1 from the cover letter

- add support alias infrastructure for subcommands (Keith)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvme-cli: add support alias command with Firmware Activatecmd_handler.h nvme-builtin.h nvme.c +2 more+21 -70 replies
2/3nvme-cli: update Firmware Commit with boot partition featurenvme-ioctl.c nvme-ioctl.h nvme.c+26 -110 replies
3/3nvme-cli: add command specific status of Firmware Commitlinux/nvme.h nvme-print.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/3] nvme-cli: update Firmware Activate to Firmware Commit

This patch set will make it support alias of every subcommands in nvme-cli. To show how this is done, update "Firmware Activate" command to "Firmware Commit" by making it as an alias.
Also it updates "Firmware Commit" command to support boot partition feature which was introduced in NVMe 1.3 spec.

Please feel free to give feedbacks and reviews.

Changes to V1:
- add support alias infrastructure for subcommands (Keith)

Minwoo Im (3):
nvme-cli: add support alias command with Firmware Activate
nvme-cli: update Firmware Commit with boot partition feature
nvme-cli: add command specific status of Firmware Commit

 cmd_handler.h  | 20 ++++++++++++++++----
 linux/nvme.h   |  1 +
 nvme-builtin.h |  2 +-
 nvme-ioctl.c   |  2 +-
 nvme-ioctl.h   |  2 +-
 nvme-print.c   |  1 +
 nvme.c         | 35 +++++++++++++++++++++++++----------
 plugin.c       |  3 ++-
 plugin.h       |  1 +
 9 files changed, 49 insertions(+), 18 deletions(-)
Signature · 1 line
2.7.4