STRUCT ACRN_IOEVENTFD(9)
β¨ struct acrn_ioeventfd(9) β¨
okay bestie, so this is a page from the Kernel API Manual and it's literally all about struct acrn_ioeventfd β the lil data bundle you use to operate a &struct hsm_ioeventfd. yes, the naming is a choice. we move. π
πΈ NAME πΈ
struct acrn_ioeventfd β the data you need to operate a &struct hsm_ioeventfd π
π¦ SYNOPSIS π¦
here's the whole shape of it, no cap:
struct acrn_ioeventfd {
__u32 fd;
__u32 flags;
__u64 addr;
__u32 len;
__u32 reserved;
__u64 data;
};
look at her. iconic. β¨
π Members π
every field, every vibe, iykyk:
fdβ the fd of the eventfd that's associated with ahsm_ioeventfdπ«Άflagsβ a logical-OR ofACRN_IOEVENTFD_FLAG_*(yes, OR them together, it's giving build-a-bear)addrβ the start address of the IO range of the ioeventfd πlenβ the length of that IO range of the ioeventfdreservedβ reserved, and fr fr it should be0π¨dataβ data for data matching (that's the actual description, she's a little mysterious, we respect it) π
π₯ Description π₯
okay so here's the tea, and this part is genuinely important:
- Without the flag
ACRN_IOEVENTFD_FLAG_DEASSIGN, the ioctlACRN_IOCTL_IOEVENTFDcreates astruct hsm_ioeventfdwhose properties originate fromstruct acrn_ioeventfd. new struct, fresh out the box, slay. π - With the flag
ACRN_IOEVENTFD_FLAG_DEASSIGN, that same ioctlACRN_IOCTL_IOEVENTFDdestroys thestruct hsm_ioeventfdmatching thefd. rip bestie, you had a good run. π
so like, one flag is the difference between "make it" and "unmake it" β do not mix those up, that's the whole plot. π
π SEE ALSO π
- Kernel file
./include/uapi/linux/acrn.h struct acrn_mmio_request(9)struct acrn_pio_request(9)struct acrn_pci_request(9)struct acrn_io_request(9)struct acrn_ioreq_notify(9)struct acrn_vm_creation(9)struct acrn_gp_regs(9)struct acrn_descriptor_ptr(9)struct acrn_regs(9)struct acrn_vcpu_regs(9)struct acrn_vm_memmap(9)struct acrn_ptdev_irq(9)struct acrn_pcidev(9)struct acrn_mmio_dev_res(9)struct acrn_mmiodev(9)struct acrn_vdev(9)struct acrn_msi_entry(9)struct acrn_cstate_data(9)struct acrn_pstate_data(9)struct acrn_irqfd(9)
that's the whole friend group right there, go say hi π§
and that's the page!! mwah π this one lives in ./include/uapi/linux and the version/date tag on it says October 2026 β so yeah, bookmark her, she's from the future and she ate. periodt. πβ¨
π¦ 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