STRUCT ACRN_PCIDEV(9)
π struct acrn_pcidev(9)
okay bestie, welcome to the kernel API manual for struct acrn_pcidev β it's giving "official docs" but make it cute. this page lives in the Kernel API Manual and it's literally all about Info for assigning or de-assigning a PCI device β¨ no cap, that's the whole vibe.
β¨ SYNOPSIS β¨
here's the struct in all its glory, copied exactly, no edits, i promise π«Ά
struct acrn_pcidev {
__u32 type;
__u16 virt_bdf;
__u16 phys_bdf;
__u8 intr_line;
__u8 intr_pin;
__u32 bar[ACRN_PCI_NUM_BARS];
};
look at her. iconic. π
π Members π
okay so let's meet the cast, member by member:
typeβ the Type of the assignment. it's the main character telling you what kind of assignment we're doing πvirt_bdfβ Virtual Bus/Device/Function. the virtual side of the BDF situation π¦phys_bdfβ Physical Bus/Device/Function. same energy, but the physical one, fr fr πΈintr_lineβ PCI interrupt line. the literal line the interrupt rides in on βintr_pinβ PCI interrupt pin. the pin, bestie. the pin πbarβ PCI BARs. that's it, that's the whole description, and honestly? confident. lowkey slay π
π Description π
so here's the tea: this structure will be passed to hypervisor directly. that's the entire description. no extra lore, no secret bonus info. it goes straight to the hypervisor, periodt. π₯
π SEE ALSO π
go read these next, bestie, they're all in the Kernel file ./include/uapi/linux/acrn.h and they're all linked below, exactly as listed, all twenty-one of them π
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_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)
ok that's the whole page, you're officially educated π go assign (or de-assign) a PCI device with confidence, bestie π§
and that's a wrap, fr fr β this one came from ./include/uapi/linux, dated October 2026, and it's filed under struct acrn_pcidev(9). mwah ππ
π¦ 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