hcall_set_irqline(9)
π 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 π§
0on success π (periodt, we love a clean zero)<0on 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 π
hcall_sos_remove_cpu(9)hcall_create_vm(9)hcall_start_vm(9)hcall_pause_vm(9)hcall_destroy_vm(9)hcall_reset_vm(9)hcall_set_vcpu_regs(9)hcall_inject_msi(9)hcall_vm_intr_monitor(9)hcall_set_ioreq_buffer(9)hcall_notify_req_finish(9)hcall_set_memory_regions(9)hcall_create_vdev(9)hcall_destroy_vdev(9)hcall_assign_mmiodev(9)hcall_deassign_mmiodev(9)hcall_assign_pcidev(9)hcall_deassign_pcidev(9)hcall_set_ptdev_intr(9)hcall_reset_ptdev_intr(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms