PCI_DRIVER_..._DEVICE_VFIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the PCI_DRIVER_..._DEVICE_VFIO(9) page from the Kernel API Manual πŸ’…βœ¨ β€” the header keeps it abbreviated, but the actual main character is PCI_DRIVER_OVERRIDE_DEVICE_VFIO. it’s giving tiny macro, big VFIO energy, and we’re getting into every single detail. 🫢

🌸 NAME 🌸

PCI_DRIVER_OVERRIDE_DEVICE_VFIO β€” a macro used to describe a VFIO "driver_override" PCI device. πŸ’–


✨ SYNOPSIS ✨

PCI_DRIVER_OVERRIDE_DEVICE_VFIO (vend , dev );

that’s the whole call, no cap. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vend β€” the 16 bit PCI Vendor ID πŸ’œ
  • dev β€” the 16 bit PCI Device ID 🌈

πŸ’… DESCRIPTION πŸ’…

This macro is used to create a struct pci_device_id that matches a specific device. the subvendor and subdevice fields will be set to PCI_ANY_ID, and the driver_override will be set to PCI_ID_F_VFIO_DRIVER_OVERRIDE. that’s the whole magic trick ✨ β€” specific-device matching with the VFIO override vibe baked in.


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/pci.h is right there, and the whole reference squad is:

go off, read the whole squad, iykyk πŸ’€πŸ’–


mwah πŸ’‹ this cutie came from the source/version ./include/linux, dated October 2026, and the footer tag is still PCI_DRIVER_..._DEVICE_VFIO(9) β€” periodt. πŸ‘‘

πŸ“¦ where this page comes from