hcall_set_irqline(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hcall_set_irqline(9) β€” Kernel API Manual πŸ’…

okay bestie, welcome to the Kernel API Manual, and specifically to hcall_set_irqline, the little hypercall that's out here doing the absolute most for interrupt lines πŸ’– This one's part of the ACRN hypercall crew, so if you're already deep in ./drivers/virt/acrn territory, you're exactly where you need to be. Let's get into it ✨


πŸŽ€ NAME πŸŽ€

hcall_set_irqline β€” set or clear an interrupt line. that's it, that's the job. it sets, it clears, it slays πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

long hcall_set_irqline (u64 vmid , u64 op );

look at that signature, so clean, so iconic ✨ two u64 args, one long coming back at you. no cap, it's giving "small but mighty" 🫢


🌸 ARGUMENTS 🌸

  • vmid β€” the User VM ID πŸ’œ like, which VM are we talking about here. bestie needs a name tag.
  • op β€” the Service VM GPA of the interrupt line operations πŸ”₯ that's a guest physical address where the interrupt-line operation stuff lives. highkey important, don't fumble it πŸ™ˆ

🧚 RETURN 🧚

  • 0 on success 🌈 (periodt, we love a clean zero)
  • <0 on failure 😭 (bestie it did NOT work out, check that negative return)

πŸ‘‘ SEE ALSO πŸ‘‘

okay so if you're obsessed with this one (and honestly why wouldn't you be), there's a whole friend group living in the kernel file ./drivers/virt/acrn/hypercall.h β€” go say hi to the whole squad πŸ’–

like, that's the whole group chat right there πŸ’€πŸ«Ά go read them too, iykyk


✨ and that's the page, bestie ✨ this icon came from ./drivers/virt/acrn, dropped in October 2026, and yes, it's filed under hcall_set_irqline(9) for all your future reference needs πŸŽ€πŸ’œ ngl, you ate that read-through. mwah πŸ’‹

πŸ“¦ where this page comes from