STRUCT ACRN_PCIDEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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