STRUCT SLOT_ADD_VCPU_REQ(9)
β¨ struct slot_add_vcpu_req(9) β¨
okay so bestie, welcome to the struct slot_add_vcpu_req(9) page from the Kernel API Manual π
this one's short and sweet and honestly kind of iconic for it.
π NAME π
struct slot_add_vcpu_req β the SLOT_ADD_VCPU request, no cap π«Ά it's the little struct you hand over when you wanna add a vCPU to a slot.
πΈ SYNOPSIS πΈ
here's the whole vibe, literally the entire struct, look at her:
struct slot_add_vcpu_req {
u64 slot_uid;
u32 vcpu_id;
u8 padding[4];
};
that's it. that's the whole girl. β
π Members π
slot_uidβ the slot's unique id π¦ it maps to the slot you're adding the vCPU to, iykyk.vcpu_idβ the vCPU ID of the CPU you're adding to the enclave π₯ this is the actual one being added.paddingβ padding for the overall data structure π she's just here so the struct stays cute and aligned. main character energy in a supporting role.
π SEE ALSO π
bestie this list is LONG but we do not skip, we do not skim, we list every single one periodt π
- Kernel file
./drivers/virt/nitro_enclaves/ne_pci_dev.hβ Nitro Enclaves (NE) PCI device(9) PCI_DEVICE_ID_NE(9)PCI_BAR_NE(9)- Device registers in the NE PCI device MMIO BAR(9)
NE_ENABLE(9)NE_VERSION(9)NE_COMMAND(9)NE_EVTCNT(9)NE_SEND_DATA(9)NE_RECV_DATA(9)- Device MMIO buffer sizes(9)
NE_SEND_DATA_SIZE(9)NE_RECV_DATA_SIZE(9)- MSI-X interrupt vectors(9)
NE_VEC_REPLY(9)NE_VEC_EVENT(9)enum ne_pci_dev_cmd_type(9)- Device commands - payload structure for requests and replies.(9)
struct enclave_start_req(9)struct enclave_get_slot_req(9)struct enclave_stop_req(9)struct slot_alloc_req(9)struct slot_free_req(9)struct slot_add_mem_req(9)struct slot_count_req(9)struct next_slot_req(9)struct slot_info_req(9)struct slot_add_bulk_vcpus_req(9)struct ne_pci_dev_cmd_reply(9)struct ne_pci_dev(9)ne_do_request(9)
like I said. all of them. πβ¨
and that's the page, bestie π source lives at ./drivers/virt/nitro_enclaves, dated October 2026, and yes the manual page title is literally struct slot_add_vcpu_req(9) β go off, queen ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms