hv_pci_query_relations(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

hv_pci_query_relations β€” ask the host to send the list of child devices πŸ’…βœ¨

Okay bestie, welcome to the hv_pci_query_relations(9) page from the Kernel API Manual 🫢. This function is literally about asking the host to send over the list of child devices, and honestly? iconic behavior. πŸ‘‘

🌸 SYNOPSIS 🌸

int hv_pci_query_relations (struct hv_device *hdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • hdev β€” VMBus's tracking struct for this root PCI bus. Think of it as the root PCI bus's little ID bracelet at the VMBus party πŸͺ©

⭐ RETURN ⭐

  • 0 β€” success, slay βœ…
  • -errno β€” failure, and it comes back as -errno 😭

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file ./drivers/pci/controller/pci-hyperv.c is the main-character file, and these related pages are all in the group chat too:


okay that’s the whole page, bestie πŸ’– mwah! This glow-up is brought to you by the source/version slot ./drivers/pci/controller, dated October 2026 β€” and yes, we are still serving hv_pci_query_relations(9) realness βœ¨πŸ‘‘

πŸ“¦ where this page comes from