- Update to version 2.7.1:
* nvme-print-json: Revert field name changes (bsc#1218306)
- Update to version 2.7:
* nvme-print-json: include vs for identify namespace
* nvme-print-stdout: enhance connect message
* fabrics: fix connect error if hostid file does not exist
* fabrics: fix invalid output format error during nvme connect
* wdc: Fix vs-smart-add-log Command for SN650 and SN655
* nvme: restric hmac options for gen-tls-key
* wdc: Fix UUID index fallback mechanism
* plugins/ocp: Add OCP Telemetry String log page, Telemetry log page
* completions: Add bash completions for telemetry string log page
* plugins/solidigm: Added OCP 2.0 compatibility version command
* plugins/solidigm: Added OCP 2.0 vs-drive-info command.
* plugins/ocp: Fix printing order of various Latency Monitor Log buckets
* nvme: validate output format split status from flag return value
* nvme: simplify cleanup_nvme_dev()
* cleanup: remove unused cleanup_charp()
* wdc: Add support for SN861 2nd pci device id
* nvme: replace libhugetlbfs with mmap and madvise
* util/mem: move alloc helper to util section
* nvme: auto cleanup filedescriptors
* nvme: auto cleanup buffers
* nvme: return error code in get_persistent_event_log
* nvme: sanitize nvme-gen-tls-key
* nvme: print out the resulting TLS identity for 'nvme check-tls-key'
* nvme: Add version '1' identifier for nvme-gen-tls-key
* subprojects/libnvme: update wrapper for TP8018
* plugins/solidigm: Added re_sku_count smart atrribute
* doc: Fix nvme-connect manpage --application option string
* plugins/ocp: changed command clear-pcie-correctable-error-counters to match OCP 2.0 spec.
* plugins/solidigm: Added command to clear PCIe Correctable Error Counters according to OCP 2.0
* plugins/ocp: Reorganized clear feature code for better reuse
* nvme: fixup length calculation for 'nvme gen-tls-key --secret'
* doc: remove invalid hostkey info for --dhchap-secret
* nvme-print-json: use human helper everywhere
* nvme-print-json: remove obj_print helper
* plugins/ocp: update nvme_show_select_result call
* mailmap: only show contributer's name
* nvme-print-json: Change to report status and message in array
* nvme-print-json: Change to report feature select in array
* nvme-print-json: Change to report error and data in array
* nvme-print-json: Add show_init/finish calls to report features in array
* nvme-print: Add nvme_show_error_status() to merge error message and status
* nvme-print-json: Use r instead of root and use obj_add_***(r, ..., ...)
* nvme-print-json: Delete static const char string global variables
* nvme-print-json: Add remaining controller registers readable format
* nvme-print-json: Add readable format cap, vs, cc, csts, nssr and crto registers
* nvme-print-json: Combine duplicated json key and val string variables
* nvme-print-json: Replase json_array_add_value_string() to array_add_str()
* nvme-print-json: Replase json_object_add_value_uint128() to obj/root_add_uint128()
* nvme-print-json: Replase json_object_add_value_object() to obj/root_add_obj()
* nvme-print-json: Replase json_array_add_value_object() to array_add_obj()
* nvme-print-json: Replase json_object_add_value_array() to obj/root_add_array()
* nvme-print-json: Replase json_object_add_value_uint() to obj/root_add_uint()
* nvme-print-json: Replase json_object_add_value_int() to obj/root_add_int()
* nvme-print-json: Replase json_object_add_value_uint64() to obj/root_add_uint64()
* nvme-print-json: Replase json_object_add_value_string() to obj/root_add_str()
* nvme-print-json: Update feature_show_fields_*** to use root/obj_add_***()
* nvme-print-json: Update lba_status_log to use root_add_***() and obj_add_***()
* nvme-print-json: Replace lba_status_log printf() to root_add_result()
* nvme-print-json: Add list_item print function
* nvme-print-json: Add lba_status_info print function
* nvme-print-json: Add lba_range print function
* nvme-print-json: Add id_ctrl_rpmbs print function
* nvme-print-json: Unify json_list and jroot object names to root
* nvme-print-json: Add json_zns_changed print function
* nvme-print-json: Add root_add_result() to output result message
* nvme-print-json: Split persistent_event_log print function
* nvme-print-json: Remove unnecessary string newline code
* nvme-print-json: Replace effects_log_list print to use json_print()
* nvme-print-json: Print persistent_event_log no log data result correctly
* nvme-print-json: Add static "result" and "erorr" strings variables
* nvme-print-json: Add single_property printf function
* nvme: Replace get feature command stderr output to nvme_show_error()
* nvme-print-json: Change d() output to use d_json()
* nvme: Fix get-feature command mixed stdout and json outputs
* nvme-print-json: Add remaining feature fields print functions
* nvme-print-json: Update formatting and codying style
* build: Add -std=c99 to CFLAGS for muon on CentOS 7
* fabrics: add udev rule to avoid renaming nbft interfaces
* fabrics: autoconnect: add service unit for connecting NBFT subsystems
* fabrics: autoconnect: explicitly express module dependency
* Updates to codeql config
* libnvme-wrap: exit on VOID_FN lookup failure
* plugins/ocp:Added the ocp C6h feature api
* plugin/ocp_fid_c6h:Added the ocp C6h feature api
* nvme-copy: support cross-namespace copy
* nvme/plugins: fix mismatch operator
* nvme: fix overflow possiblity
* nvme: reduce identify cmd issue
* nvme: allow set-features to take input from stdin
* Fix common misspellings from codespell project
* nvme-print: Correct to print correct ascii character string length
* print-stdout: print Host Behavior Support correctly
* build: Bump libnvme wrap
* plugins/solidigm: Added support for temperature statistics log page
* Add support for codeql sweeps
* doc: Add virt-mgmt command
* doc: Add id-uuid command
* doc: Add list-secondary command
* doc: Add id-ns-granularity command
* doc: Add nvme commands --output-format and --verbose options
* completions: Add nvme-mi-recv nad nvme-mi-send commands completions
* completions: Change short option -o and -v duplicated to upper case
* doc: Change short option -o and -v duplicated to upper case
* nvme: Change short option -o and -v duplicated to upper case
* nvme: Change phy-rx-eom-log command to use NVME_ARGS instead
* plugins/memblaze: Add smart-log-add and latency-feature functions
* plugins/solidigm: internal-logs Telemetry auto detect last data area.
* nvme: Change to use NVME_FLBAS_META_EXT() macro to check flbas value
* nvme-print-json: Add host memory buffer and timestamp features print functions
* nvme-print-json: Add feature fields print functions
* nvme-print-json: Add TMPTH feature print function
* nvme-print-json: Add show_feature_fields print function
* nvme-print-json: Add select_result print function
* nvme-print-json: Use json_print to print and free object
* nvme-print-json: Add lba_status print function
* nvme-print-json: Combine variable definition and setting value
* nvme-print-json: Add id_iocs print function
* nvme-print-stdout: Fix coding style errors
* nvme-print-json: Add directive print function
* nvme: Fixed segmentation fault when getting host initiated telemetry
* plugins/wdc: enhanced SN861 device support
* plugins/wdc: cleanup line lengths
* nvme: do not include meta data for PRACT=1 and MD=8
* nvme: use block-count arg if provided
* build: bump libnvme to disable tests option
* build: Add static build on CI target
* nvme-print: Add nvme_zns_start_zone_list() API function
* nvme-print: Add nvme_zns_finish_zone_list() API function
* nvme-print-binary: Set list function to NULL if unimplemented
* nvme-print-json: Change order list functions and set NULL if unimplemented
* nvme-print-stdout: Fix to set stdout_list_item print function missed
* plugins/solidigm: log page name extraction using nvme_log_to_string function
* nvme-print: Added missing logpage names in nvme_log_to_string function
* udev-rules: rename netapp udev rule
* udev-rules: set ctrl_loss_tmo to -1 for ONTAP NVMe/TCP
- Remove upstreamed patches
* remove 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch
* remove 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch
- Update spec file
* remove libhugetblfs depedency
* update NetApp udev rule file name
OBS-URL: https://build.opensuse.org/request/show/1139715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=73
- Update to version 2.6:
* nvme: allocate payload buffer in create-ns command
* nvme-print-stdout: Add CAP.CPS and CAP.NSSS human readable outputs
* nvme: Add output-format default option instead of argconfig json option
* nvme: fw-download offset only describes FW offset, not file offset
* unit: add locale number test
* util: handle utf-8 thousend separators correctly
* nvme: Change to use NVME_ARGS verbose default option from OPT_ARGS
* fabrics: Fix NVMF_ARGS macro to use parameter n correctly
* nvme: Add verbose default option to show command debug output
* util: Fix to set argconfig output format json option correctly
* util: Split argconfig output format json function to set and get
* nvme: Spport Phy Rx Eye Opening Measurement Log
* nvme: Introduce nvme_realloc function
* nvme: Fix for fdpa reserved field printing
* completion: add 'version' and 'help' to list
* udev-rule: apply round-robin iopolicy on i/o subsystems alone
* nvme: Add support for the OAQD ID controller field
* plugins/solidigm: use static log macro to calc bitmask
* plugins/ocp: Rename FW activation history command
* nvme: auto free nvme_dev resource
* nvme: allocate aligned payloads for all nvme commands
* nvme: introduce alloc helper with alignment support
* util: add cleanup function for generic memory allocations
* nvme: append huge to nvme_{alloc|free} function
* nvme: fw_download use nvme_alloc only
* fabrics: Removing duplicate code and moving to libnvme
* nvme-print: omit size of protection information
* tree: Modify label name close_fd to close_dev
* fabrics: For TCP/RDMA, compare IP addresses with nvme_ipaddrs_eq()
OBS-URL: https://build.opensuse.org/request/show/1114409
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=140
- Update to version 2.4:
* plugins/ocp: Add SMART cloud log to solidigm plugin
* nvme-print: Unify number base format for nsid
* nvme-(discover,connect,connect-all): enable options '--keyring' and '--tls_key'
* nvme-connect: enable option '--tls'
* nvme-check-tls-key: add options to derive a 'retained' TLS key
* nvme-gen-tls-key: add options to derive a TLS key
* plugins/ocp: Move SMART cloud log methods to separate file for reusability
* nvme: validate storage tag size correctly
* nvme-print-json: Add json output status function
* util: Cleanup argconfig parse function
* nvme: Fix format command function indentation errors
* util: Use argconfig commandline options pointer directly
* nvme-print: Fix nvme show status function indentation errors
* nvme: Check fw-commit command support MUD
* print: print csi and opcode in error log (TP4113)
* plugins/inspur: Cast vendor specific smart log value
* nvme: Use correct ABORT type for self abort test
* plugins/solidigm: Do not overwrite previously initialized variable
* nvme-print: sanitize supported-log-pages output
* nvme: Enforce length to a multiple of 4 in get_log_page
* nvme: fix block count and data size logic
* util: Introduce argconfig simple helper to check seen condition
* plugins/ocp: Add set feature EOL/PLP failure mode no-uuid option
* plugins/ocp: Refactor to clear feature identifier C1h and C3h
* plugins/ocp: Add support for clear PCIe correctable error counters feature
* nvme-doc: update man page for supported-log-pages
* plugins/ocp: OCP 2.0 field updates for SMART cloud log
* nvme: Fix parameter limit range
* fdp: Fix wrong Reclaim Unit Handle Status size
OBS-URL: https://build.opensuse.org/request/show/1076524
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=135
- Update to version 2.3:
* Added support for Flexible Data Placement (TP4146)
* Added Persistent Discovery Controller support (TP8013/TP8014)
* nvme-mi: support for firmware downloads
* nvme device-self-test learned the --wait command line argument
which makes nvme-cli to wait (incl. progress bar) in foreground
until the test has finished.
* A lot of bug fixes all over the place
- Update spec file
* Project depends on meson >= 0.50.0
* make build dependency dropped
OBS-URL: https://build.opensuse.org/request/show/1062068
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=133
- Update to version 2.2.1:
* Added parsing for Solidigm telemetry observable data.
* add item ddr_ecc_err_cnt in smart-log-add
* build: Drop dependency on libuuid
* build: Fix endian check for cross build
* build: Remove unused uuid.wrap file
* build: Remove unusned uuid.h include
* completions: Add show-topology tab completion
* fabrics: Honor JSON config file in connect-all command
* fabrics: Trigger auto connect if config.json exists
* fabrics: fix 'persistent' handling during connect-all with JSON file
* fabrics: nvme config --modify depends on -n and -t argument
* fabrics: re-read the discovery log page when a discovery controller reconnected
* json: Support uint64 types serialization for older json-c versions
* nvme, plugins: fix __u64 -> unsigned long long assumptions
* nvme-print: Add missing values in id-ctrl for JSON output
* nvme-print: Handle NULL hostid in JSON output
* nvme-print: Output 128bit values as uint128 type instead of double
* nvme-print: Print fguid as a UUID
* nvme-print: Use uint128 JSON function for media_units_written
* nvme-print: decode MI status values
* nvme-print: decode status types
* nvme-print: fix wrong json key
* nvme: Add helper function to parse 16-bit comma separated list
* nvme: Add nvme_cmd wrapper for get_features
* nvme: Add show-topology command
* nvme: Add wrapper for Format NVM
* nvme: Add wrapper for Sanitize NVM
* nvme: Add wrappers for Get Log page helpers
* nvme: Add wrappers for Identify controller lists
* nvme: Add wrappers for NS attach/detach
* nvme: Add wrappers for NS management functions
* nvme: Add wrappers for basic NS identify
* nvme: Add wrappers for firmware commands
* nvme: Fix set feature command to get feature identifier 0Dh length as zero
* nvme: Introduce a union in struct nvme_dev for different transport types
* nvme: Introduce nvme_cli_ wrappers, wrap identify and identify_ctrl
* nvme: Make static nvme_dev private to open_dev(), use locals elsewhere
* nvme: Masks SSTAT in sanize-log output
* nvme: Remove static nvme_dev, allocate on open instead
* nvme: Use correct print format specifier for sizeof arguments
* nvme: Use local struct nvme_dev for show_registers & map_registers
* nvme: check if cfg.metadata is NULL before passing it to strlen()
* nvme: use helpers for checking status types
* plugins/innogrit: Include timer.h
* plugins/innogrit: add smart items for smart-log-add
* plugins/micron-nvme: Use correct print format specifier for sizeof arguments
* plugins/ocp: Include timer.h
* plugins/ocp: Output 128bit values as uint128 type instead of double
* plugins/ocp: pass struct nvme_dev to internal functions
* plugins/seagate: Add support for OCP
* plugins/toshiba: pass struct nvme_dev rather than fd + name
* plugins/virtium: Output 128bit values as uint128 type instead of double
* plugins/wdc: Add support for SN660 drive
* plugins/wdc: Add type case for feature id
* plugins/wdc: Output 128bit values as uint128 type instead of double
* plugins/wdc: pass a struct nvme_dev around rather than a fd
* plugins/wdc: pass struct nvme_dev rather than using global nvme_dev
* plugins/ytmc: pass struct nvme_dev rather than fd + name
* plugins: Use PRIu64 format specifier for 64bit types
* print: Add Controller Ready Timeout Exceeded HW error code
* solidgm: fix initialization warning
* solidigm: Added parsing for telemetry customer screenable data
* solidigm: Fix printf format for size_t variable
* solidigm: Updated Telemetry parsing code to MIT license.
* subprojects/libnvme: update for MI admin command coverage
* tests: Update license to GPL-2.0-or-later
* tree: Add NVMe-MI support
* tree: Add dev_fd() helper
* tree: Change nvme_dev from global to static
* tree: Combine NVMe file descriptor into struct nvme_dev
* tree: Move global device info to a single struct
* tree: fail on non-negative return values from parse_and_open
* udev: Add HOST_IFACE to udev rule
* util/json.h: Add json_object_get_uint64 fallback implementation
* util/json: Add 128 bit JSON helpers
* util/types: Add 128 bit conversion helpers
* util: Fix le128_to_cpu on big-endian
* util: Fix le128_to_cpu on little-endian
* util: Move common type conversion helpers into util section
* utils/json: Add json_object_new_uint64 for json-c < 0.14
* utils: Fix uint128_t usage
* wdc: OCP Log page updates and fixes
* zns.c: report zones should be started after retrieved zone
- Handle suse-missing-rclink lint warnings by providing the symlinks
- Drop rpmlintrc as it is not needed anymore
OBS-URL: https://build.opensuse.org/request/show/1033046
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=131
- Update to version 2.1.2:
* build: Update version to v2.1.2
* wrapper: Update SPDIX license
* wrapper: Call library version of nvme_init_copy_range_f1
* Revert "udev: re-read the discovery log page when a discovery controller reconnected"
* nvme: Simplify ns list identify
* meson: we don't need a c++ compiler
* plugins/ocp: drop unused fd argument
* plugins/wdc: remove fd argument from print functions
* plugins/wdc: fix memset() on the address of a pointer
* plugins/solidigm: fix return value on format parse failure
* plugins/wdc: prevent duplicate close on NVMe device
OBS-URL: https://build.opensuse.org/request/show/997603
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=124