vgic_register_redist_iodev(9)
β¨ vgic_register_redist_iodev(9) β¨
okay so bestie, welcome to the Kernel API Manual β we're doing arm64 KVM virtual interrupt controller stuff today and honestly it's giving main character energy π
πΈ NAME πΈ
vgic_register_redist_iodev β register a single redist iodev, one (1) whole redistributor, no more no less π
π¦ SYNOPSIS π¦
int vgic_register_redist_iodev (struct kvm_vcpu *vcpu );
like, one argument, one return value, we love a minimal queen π
π ARGUMENTS π
vcpuβ the VCPU that this redistributor belongs to π«Ά literally the VCPU to which the redistributor belongs, that's the whole vibe
π₯ DESCRIPTION π₯
So what this does is: it registers a KVM iodev for this VCPU's redistributor, and it does it using the address provided β¨ that's the entire bit, no cap.
It returns 0 on success β slay π β and -ERRNO otherwise π so like, check your return value, bestie, fr fr.
ngl the manpage does not say which address, it just says the address provided. do with that what you will π
π SEE ALSO π
- Kernel file
./arch/arm64/kvm/vgic/vgic-mmio-v3.cβ go read the source, iykyk π vgic_v3_alloc_redist_region(9)vgic_v3_dispatch_sgi(9)
the girlies that read SEE ALSO sections together stay together π
β that's the whole page!! source/version squad represent: this one's filed under ./arch/arm64/kvm/vgic, dated October 2026, and it's vgic_register_redist_iodev(9) β periodt, go register some redistributors bestie π
π
π¦ 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