libnvme(9) API Manual libnvme(9)

struct libnvme_mi_event - AE event information structure

struct libnvme_mi_event {
uint8_t aeoi;
uint8_t aessi;
uint32_t aeocidi;
void *spec_info;
size_t spec_info_len;
void *vend_spec_info;
size_t vend_spec_info_len;
};

Event identifier
Event occurrence scope info
Event occurrence scope ID info
Specific info buffer
Length of specific info buffer
Vendor specific info buffer
Length of vendor specific info buffer

Application callbacks for libnvme_mi_aem_process will be able to call libnvme_mi_aem_get_next_event which will return a pointer to such an identifier for the next event the application should parse

struct libnvme_mi_event September 2026