- Update to version 1.7.1+0.g13ba383:
* tree: do no free ns on error in nvme_ns_init
- Update to version 1.7+0.gf38b1d7:
* tree: do not open blk device on default
* tree: read all attributes from sysfs when available
* ioctl: set data length when retrieving LBA status
* types: fix regression for vendor-specific field in nvme_id_ns
* util: use cleanup functions
* linux: use cleanup functions
* json: use cleanup functions
* fabrics: use cleanup functions
* tree: use cleanup functions
* cleanup: add cleanup functions
* tree: fix incorrect return value
* tree: Fix clearing application strings
* libnvme: reshuffle nvme_generate_tls_key_identity()
* libnvme: fixup error codes
* libnvme: Implement 'nvme_generate_tls_key_identity()'
* libnvme: support NVMe TLS identities version 1
* libnvme: Add base64 functions
* libnvme: separate out 'gen_tls_identity' and reshuffle 'derive_nvme_keys'
* libnvme: separate out a function 'select_hmac'
* libnvme: fix a memory leak when calling read_ssns()
* libnvme: fix a memory leak in read_discovery()
* fabrics: avoid redundant args in nvme_discovery_log()
* fabrics: have nvmf_get_discovery_log() call nvmf_get_discovery_wargs()
* fabrics: fetch smaller Discovery Log Page header
* fabrics: avoid redundant Get Log Page on retry
* fabrics: clear RAE for discovery log page commands
OBS-URL: https://build.opensuse.org/request/show/1134173
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=51
- Update to version 1.6:
* docs: Fix Read-the-Docs configuration (deprecated config param)
* mi-mctp: Fix free() in error path of mi_open_mctp
* types: Use NVME_SET for status type mask to get status value
* types: Define FLBAS MASK and SHIFT to use NVME_GET
* types: Support Phy Rx Eye Opening Measurement Log
* log: Add nvme root global variable to set for default output
* types: Add support for the OAQD ID controller field
* test: use non deprecated API
* test: add tests for Get/Set Features functions
* ioctl: implement nvme_set_features_lba_range()
* ioctl: pass NSID in Get/Set Features commands that use it
* ioctl: fix swapped parameters in nvme_set_features_host_id()
* ioctl: export nvme_{g,s}et_features_iocs_profile()
* ioctl: pass ENDGID in nvme_get_features_endurance_event_cfg()
* ioctl: don't set SAVE bit on unsaveable features
* ioctl: avoid sending uninitialized timestamp
* ioctl: pass data for Get/Set Features commands
* ioctl: set correct bits in Set Features commands
* ioctl: correct feature IDs in Get/Set Features commands
* tree: Add 2 new public functions to lookup existing controllers
* ioctl: Add debugging feature to show command outputs
* Fix incorrect article 'an' as 'a' to use for a description
* linux: Added functions to enable faster telemetry data retrieval. Moved telemetry data area support detection into separate function. Added possibility to modify data transfer chunk size. Enable telemetry extraction up to specified data area. Removed some printf() and perror().
* test: account for discovery log page entry stripping
* fabrics: unconditionally strip discovery entry strings
* fabrics: only look for spaces in strchomp()
* tree: Use early return instead of else statements
* test: fix lookup test case
* test: make all function static
OBS-URL: https://build.opensuse.org/request/show/1114408
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=40
- Update to version 1.3:
* Support added for Flexible Data Placement (TP4146)
* Fabrics: added support for Persistent Discovery Controllers.
* libnvme-mi added a quirk framework to workaround special behavior of
certain devices
* The python binding behaves more friendly in a threading environment
by release the GIL on blocking calls.
* Replaced 3the libsystemd dependency with libdbus
* A lot of small fixes everywhere (leaks, wrong ordering of arguments, ...)
- Update spec file
* Project depends on meson >= 0.50.0
OBS-URL: https://build.opensuse.org/request/show/1062067
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=31
- Update to version 1.2:
* Add more details for return code of MI admin cmds
* Parse dhchap_host_key on controller level
* Update json config schema for missing dhchap host key
* fabrics: Add new TP8010 definitions
* fabrics: Add nvmf_get_discovery_wargs()
* fabrics: Duplicate strings when merging configs
* fabrics: Filter out empty strings in add_argument()
* fabrics: Use fallthrough statement
* ioctl: Set log page offset for nvme_get_log_telemetry_host
* json-schema: add dhchap_key details to host section
* json: Enforce correctly formatted JSON config files
* json: Verify JSON config file starts with an array
* mi: Add Get Log Page helpers
* mi: Add Identify function for secondary controller list
* mi: Add Identify helper for ns-descs and primary-ctrl-caps
* mi: Add firmware download and commit commands
* mi: Add identify helper for nsid-capable Controller List
* mi: Add identify helpers for namespace lists
* mi: Add identify helpers for namespaces
* mi: Allow Admin-message sized More Processing Required responses
* mi: Distinguish MI status from NVMe (CDW3) status
* mi: Fix C++ compiler errors
* mi: Implement Format NVM command
* mi: Implement Get & Set Features Admin commands
* mi: Implement NS attach command and helpers
* mi: Implement Namespace Management command and create/delete helpers
* mi: Implement Sanitize command
* mi: Init ctrl_id within xfer
* mi: Introduce a helper for response status, unify values with ioctls
* mi: Set log page offset for nvme_get_log_telemetry_host
* mi: add nvme_mi_status_to_string()
* mi: fix a memory leak in nvme_mi_open_mctp()
* mi: fix get_log_page chunked offset check
* nvme-tree: avoid segfault if auth keys are unavailable
* python: Use nvmf_get_discovery_wargs()
* tree: rename controller 'dhchap_key' to 'dhchap_ctrl_key'
* types: Move enum nvme_data_tfr to types
* util: Add LINE_MAX define
* util: Add get feature length 2 API to support direction parameter
* util: Add simple UUID type
* util: Do not expose fallthrough defines
- Make man page build conditiional. Install man page location has been
fixed upstream.
- Mark the Python directory own by the libnvme3-python package
OBS-URL: https://build.opensuse.org/request/show/1033045
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=29
- Update to version 1.1:
* Regenerate all documentation
* json: fixup dhchap_ctrl_key definitions
* fabrics: Fix build_options() return values
* fabrics: sanitize dump-config output
* Fix poll.h includes
* build: Drop -nostdinc for LibreSSL header checks
* ioctl: Honor rae in nvme_get_nsid_log
* build: Add support to build against LibreSSL
* rpmbuild: Enable 'make rpm' to build rpm pkgs #408
* mi: unify MI Get Log Page function with ioctl API
* python: add missing ctrl attrs to Python bindings
* mi-mctp: Add timeout support to MCTP transport
* mi: Add maximum More Processing Required limit API
* mi: Add endpoint get/set timeout API
OBS-URL: https://build.opensuse.org/request/show/992385
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=24
- Update to version 1.0-rc8:
* types: Add support for get log - MI Command Supported
* types: Add new Identify constant
* types: Update persistent event entry struct added new fields
* types: Add Host Initiated Data Gen Number to telemetry log struct
* tree: always allocate config file in nvme_read_config()
* tree: rework nvme_scan_subsystem()
* tree: make subsystem name mandatory in nvme_scan_ctrl()
* tree: move nvme_init_subsystem() into nvme_lookup_subsystem()
* tree: do not return error when filtering out subsystems
* tree: add debugging messages during scanning
* tree: Handle NULL subsysname in nvme_scan_ctrl()
* tree: Fix subsystem initialization in nvme_scan_ctrl()
* tree: Fix leaking 'name' in nvme_subsystem_lookup_namespace()
* tree: Avoid dereferencing nvme_subsystem_t before its check for NULL
* tree: Clarify NULL return values from nvme_get_attr()
* fabrics: Invoke nvmf_dim() with provided tas argument
* fabrics: add 'nvmf_update_config()'
* fabrics: Avoid out of bounds string chomping
* fabrics: Free old traddr in nvmf_add_ctrl
* fabrics: update log level for write failures
* fabrics: Streamlining documentation
* fabrics: Fix leaking ctrl in nvmf_connect_disc_entry()
* fabrics: Add missing break in a switch
* ioctl: Remove attribute packed and alignedof for args structs
* ioctl: Align arguments indentation with braces
* json: fix endless loop scanning for controllers
* Remove nvme_init_id_ns
* Add lbstm support for create-ns
* documentation updates
OBS-URL: https://build.opensuse.org/request/show/966437
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=18
- Update to version v1.0-rc3:
* Properly create manuals/documentation
* Fix memleaks in __nvme_free_ns() and nvme_scan_subsystem()
* nvme: get log domain id included in Log Specific Identifier
* nvme: Add nulbaf(Number of Unique Capability LBA Formats) field on nvmd_id_ns
* ioctl: Add identify ioctl for CNS 09h, 0Ah
* nvme: Add Enhanced Controller Meta Data(FID: 0x7D)
* nvme: Add Supported Capacity Configuration List log page(LID: 0x11)
* tree: do not set dhchap_key to 'none'
* tree: restart controller lookup
* tree: fixup memory leak in nvme_scan_ctrl()
* Rename nvme_path_get_subsystem()
* Remove nvme_reset_topology()
- Use precompiled documentation instead regenerating it
OBS-URL: https://build.opensuse.org/request/show/953753
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=7