| 1 |
.TH "nvme_mi_admin_get_log_fw_slot" 9 "nvme_mi_admin_get_log_fw_slot" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_get_log_fw_slot \- Retrieves the controller firmware log |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_get_log_fw_slot |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "bool rae " "," |
| 8 |
.BI "struct nvme_firmware_slot *fw_log " ");" |
| 9 |
.SH ARGUMENTS |
| 10 |
.IP "ctrl" 12 |
| 11 |
Controller to query |
| 12 |
.IP "rae" 12 |
| 13 |
Retain asynchronous events |
| 14 |
.IP "fw_log" 12 |
| 15 |
User address to store the log page |
| 16 |
.SH "DESCRIPTION" |
| 17 |
This log page describes the firmware revision stored in each firmware slot |
| 18 |
supported. The firmware revision is indicated as an ASCII string. The log |
| 19 |
page also indicates the active slot number. |
| 20 |
.SH "RETURN" |
| 21 |
The nvme command status if a response was received (see |
| 22 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |