libnvme(2)

✨ NAME ✨

enum nvme_virt_mgmt_act β€” Virtualization Management β€” Action πŸ’…

Ok bestie, so this is from the libnvme API manual (that's the <pink>libnvme(2)</pink> vibe, section 2, iykyk), and it's literally just one little enum. One. But she's important. She's the list of actions you can ask a Virtualization Management command to do. That's the whole gig. Let's go 🫢


🌸 SYNOPSIS 🌸

enum nvme_virt_mgmt_act {
    NVME_VIRT_MGMT_ACT_PRIM_CTRL_FLEX_ALLOC ,
    NVME_VIRT_MGMT_ACT_OFFLINE_SEC_CTRL ,
    NVME_VIRT_MGMT_ACT_ASSIGN_SEC_CTRL ,
    NVME_VIRT_MGMT_ACT_ONLINE_SEC_CTRL

};
Not a single one of these has an explicit value written next to it in the source, bestie. So don't come for me asking "what's it set to" β€” the manpage does not say, and I'm not about to make it up. The names are the names, periodt. πŸ’€

πŸŽ€ Constants πŸŽ€

Four constants. Four whole vibes. Here's the lineup, no skips, no cuts πŸ’–

  • NVME_VIRT_MGMT_ACT_PRIM_CTRL_FLEX_ALLOC β€” Primary Controller Flexible Allocation. This is the one where the primary controller gets to flex πŸ’ͺ like, flexible allocation energy, main character behaviour fr fr.
  • NVME_VIRT_MGMT_ACT_OFFLINE_SEC_CTRL β€” Secondary Controller Offline. Taking a secondary controller offline. She's clocking out πŸ¦‹
  • NVME_VIRT_MGMT_ACT_ASSIGN_SEC_CTRL β€” Secondary Controller Assign. Handing a secondary controller its assignment πŸŽ€
  • NVME_VIRT_MGMT_ACT_ONLINE_SEC_CTRL β€” Secondary Controller Online. Bringing a secondary controller online, back on her grind πŸ‘‘

That's genuinely it, bestie β€” every constant, every description, nothing hidden, nothing skipped, no cap ✨ The four actions above are the complete set this enum gives you. Slay.

Stay hydrated and remember: the primary controller flexes, the secondaries cycle through offline / assign / online, and that's the whole rotation πŸŒˆπŸ’œ

Much love, see u in the next manpage πŸ’…


libnvme(2) β€” this page lives in the API Manual, and the docs are stamped July 2026. That's the date, that's the version, that's the sign-off πŸŽ€ bye bestie πŸ¦‹

πŸ“¦ where this page comes from