STRUCT ACRN_PTDEV_IRQ(9)
π struct acrn_ptdev_irq(9) β the glow-up
okay so bestie, welcome to the Kernel API Manual β¨ we're talking about struct acrn_ptdev_irq today, and honestly? she's a whole vibe. this is the interrupt data of a passthrough device β yes, that's literally what she is, and she's serving it.
πΈ NAME πΈ
struct acrn_ptdev_irq β Interrupt data of a passthrough device. that's it, that's the whole name. iconic behaviour, no notes π
β¨ SYNOPSIS β¨
here's the shape of her, exactly, don't @ me:
struct acrn_ptdev_irq {
__u32 type;
__u16 virt_bdf;
__u16 phys_bdf;
struct {
__u32 virt_pin;
__u32 phys_pin;
__u32 is_pic_pin;
} intx;
};
likeβ¦ she's compact, she's got a nested struct inside her, she's lowkey built different π¦
π MEMBERS π
typeβ Type (ACRN_PTDEV_IRQ_*). yeah the star is a wildcard, it's giving "pick your fighter" πvirt_bdfβ Virtual Bus/Device/Function. the virtual one, the β¨conceptβ¨ of a devicephys_bdfβ Physical Bus/Device/Function. the real one, the one that actually exists in the machine πintxβ Info of interrupt. the interrupt lore lives here, and inside her there's more:intx.virt_pinβ Virtual IOAPIC pin π―intx.phys_pinβ Physical IOAPIC pin π―intx.is_pic_pinβ Is PIC pin or not. a yes/no vibe check, basically π«Ά
π DESCRIPTION π
This structure will be passed to hypervisor directly. that's it. that's the whole description and honestly the drama is in the brevity β no cap, she goes straight to the hypervisor, no middleman, main character energy π
π¦ SEE ALSO π¦
Kernel file ./include/uapi/linux/acrn.h β that's where she lives, that's her address π‘
and her whole friend group, all the other structs, in the order the manpage says (yes i listed every single one, i would NEVER skip a bestie):
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_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_ioeventfd(9)struct acrn_irqfd(9)
aaaand that's the page, bestie π«Ά no crumbs left, every flag and field accounted for π
signing off from ./include/uapi/linux, dated October 2026, because struct acrn_ptdev_irq(9) said so π
β¨
π¦ 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