libnvme(9)
π NAME π
struct nvme_mi_event β the AE event info struct, bestie. Like, the little glow-up container that holds everything you wanna know about an asynchronous event. β¨
This page lives in the API Manual for libnvme, so you already know it's the good stuff. π«Ά
πΈ SYNOPSIS πΈ
struct nvme_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;
};
no cap, that's the whole shape of it. seven members, zero drama. π
β¨ Members β¨
aeoiβ the Event identifier. who dis? it's the event, that's who. πaessiβ Event occurrence scope info. the where-ish of it all.aeocidiβ Event occurrence scope ID info. and this is the actual ID to go with that scope, slay.spec_infoβ the Specific info buffer. a whole buffer of specifics, iconic. πspec_info_lenβ Length of specific info buffer. obviously we need to know how long it is, fr fr.vend_spec_infoβ the Vendor specific info buffer. vendor-only tea, don't touch unless you're the vendor. πvend_spec_info_lenβ Length of vendor specific info buffer. and yeah, that one's got a length too.
π¦ DESCRIPTION π¦
Okay so here's the vibe: Application callbacks for nvme_mi_aem_process get to call nvme_mi_aem_get_next_event, and that is gonna hand you back a pointer to one of these identifiers β the next event your application should parse. π«‘
Like, you don't build these yourself, bestie. They get handed to you, you read the fields, you parse, you move on. main character energy tbh. π
heads up: this is a struct of raw info β read the lengths before you go poking atspec_infoorvend_spec_info, because we do not do undefined behaviour in this group chat. π
π okay that's the whole page, hope it ate π
This was the struct nvme_mi_event page from the libnvme API Manual, dated August 2026. π Byeeee, go parse some events. πβ¨
π¦ where this page comes from
- fedora 44: libnvme-doc 1.16.2-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms