vgic_target_oracle(9)
π
vgic_target_oracle(9) β Kernel API Manual β¨
okay bestie, welcome to the vgic_target_oracle(9) page in the Kernel API Manual. it's giving kernel-internals realness, and we're keeping every detail. π«Ά
πΈ NAME πΈ
vgic_target_oracle β compute the target vcpu for an irq. no cap. π―
β¨ SYNOPSIS β¨
struct kvm_vcpu * vgic_target_oracle (struct vgic_irq *irq );
π ARGUMENTS π
irqβ the irq to route. bestie, it must be already locked. π
π¦ DESCRIPTION π¦
okay so: based on the current state of the interrupt (enabled, pending, active, vcpu and target_vcpu), this function computes the next vcpu this should be given to. literally the matchmaker for interrupts. π
it returns NULL if this shouldn't be injected at all. not every irq gets a rose on this season, and that's valid. πΉ
π¨ requires the IRQ lock to be held. like, do not skip this. the lock is the vibe check. π
π₯ SEE ALSO π₯
Kernel file ./arch/arm64/kvm/vgic/vgic.c β and the rest of the squad: kvm_vgic_inject_irq(9), kvm_vgic_reset_mapped_irq(9), kvm_vgic_set_owner(9), vgic_prune_ap_list(9). go read them, iykyk. π
big cute sign-off to the footer source/version: ./arch/arm64/kvm/vgic, October 2026. periodt. π
π
π¦ 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