hv_pci_devices_present(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hv_pci_devices_present(9) πŸ’–

okay so bestie, welcome to the hv_pci_devices_present page β€” it's a kernel API manual page (section 9, the fun one where all the kernel-internal functions live, iykyk) ✨ grab a strawberry drink πŸ“ and let's get into it.


🌸 NAME 🌸

hv_pci_devices_present β€” handle a whole list of new children πŸ’…


✨ SYNOPSIS ✨

void hv_pci_devices_present (struct hv_pcibus_device *hbus , struct
       pci_bus_relations *relations );

literally that's the whole signature, no cap. two pointers in, void out β€” nothing comes back, it just does the thing 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • hbus β€” the root PCI bus, exactly as this driver understands it πŸ‘‘ think of it as the main character bus that all the drama happens on.
  • relations β€” the packet that arrives from the host, listing the children πŸ¦‹ yes, this is the envelope full of device names.

🧚 DESCRIPTION 🧚

So what does it do? It processes a brand-new list of devices on the bus ✨ the list of devices gets discovered by VSP, and VSP sends it over to us via the VSP message PCI_BUS_RELATIONS β€” and that happens whenever a new list of devices for this bus shows up πŸ”₯

so like: new list drops β†’ message lands β†’ this function handles it. iconic behaviour honestly πŸ’œ


🌈 SEE ALSO 🌈

the whole friend group, periodt πŸ’…:


and that's the page bestie πŸŽ€ it lives in ./drivers/pci/controller (the pci-hyperv.c of it all), it's the October 2026 version, and it's filed under hv_pci_devices_present(9) in the kernel API manual β€” go read the rest of the group chat, love u, bye πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from