hcall_deassign_pcidev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is hcall_deassign_pcidev(9), and yes, we are in the Kernel API Manual β€” it’s giving kernel hypercall realness and I’m obsessed. πŸ’–

hcall_deassign_pcidev β€” De-assign a PCI device from a User VM. periodt. πŸ’…


✨ SYNOPSIS ✨

long hcall_deassign_pcidev (u64 vmid , u64 addr );

πŸ’… ARGUMENTS πŸ’…

  • vmid β€” User VM ID. literally the ID of the User VM, bestie. 🫢
  • addr β€” Service VM GPA of the struct acrn_pcidev. yep, that exact GPA. no cap. ✨

🫢 RETURN 🫢

Returns 0 on success, and <0 on failure. that’s the whole vibe check. πŸ’–


🌈 SEE ALSO 🌈

Kernel file ./drivers/virt/acrn/hypercall.h β€” and the whole hcall bestie squad:


mwah πŸ’– source/version: ./drivers/virt/acrn, date: October 2026, and it’s literally hcall_deassign_pcidev(9) β€” slay. πŸŽ€

πŸ“¦ where this page comes from