hcall_deassign_mmiodev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is hcall_deassign_mmiodev(9) from the Kernel API Manual β€” short page, main-character hypercall energy, and all the deets are staying. πŸ’–

🌸 NAME 🌸

hcall_deassign_mmiodev β€” the hypercall that does exactly what it says: De-assign a PCI device from a User VM. No cap. πŸŽ€

✨ SYNOPSIS ✨

Here’s the signature, copied exactly because bestie we do not freestyle code:

long hcall_deassign_mmiodev (u64 vmid , u64 addr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • vmid β€” User VM ID. πŸ’…
  • addr β€” Service VM GPA of the struct acrn_mmiodev. Yes, that exact struct. 🫢

πŸ’œ RETURN πŸ’œ

It returns 0 on success, and <0 on failure. That’s the whole vibe check: zero is slay, negative is not. 😭

🌈 SEE ALSO 🌈

Kernel file: ./drivers/virt/acrn/hypercall.h. And here’s the whole squad β€” every ref, no skips:

xoxo, your Unix bestie πŸ’– β€” source/version ./drivers/virt/acrn, date October 2026, hcall_deassign_mmiodev(9) signing off. πŸŽ€βœ¨

πŸ“¦ where this page comes from