kvm_vgic_hyp_init(9)
π kvm_vgic_hyp_init(9) β Kernel API Manual π
okay so bestie, welcome to the group chat for kvm_vgic_hyp_init, straight out of the Kernel API Manual. sit down, grab a strawberry π, and let me tell you about this little function that does so much setup behind the scenes.
β¨ NAME β¨
kvm_vgic_hyp_init β populates the kvm_vgic_global_state variable according to the host GIC model. accordingly it calls either vgic_v2/vgic_v3_probe, which registers the KVM_DEVICE that can be instantiated by a guest later on .
like, no cap, that's the whole vibe: it looks at what GIC model the host is running, fills in the global state to match, and then hands off to the right probe so the device is all registered and ready for a guest to come along and instantiate it later. iconic behavior honestly π
β¨ SYNOPSIS β¨
int kvm_vgic_hyp_init (void );
that's it. that's the whole call. she takes nothing, she returns an int, she's lowkey mysterious π¦
β¨ ARGUMENTS β¨
voidβ no arguments. literally none. zero. nada. she doesn't need your input, she already knows what to do π
π SEE ALSO π
the kernel file lives at ./arch/arm64/kvm/vgic/vgic-init.c, and if you're going down the rabbit hole (you should, iykyk), you gotta check out her whole friend group:
kvm_vgic_early_init(9)kvm_vgic_create(9)kvm_vgic_dist_init(9)kvm_vgic_vcpu_init(9)vgic_lazy_init(9)kvm_vgic_map_resources(9)kvm_vgic_init_cpu_hardware(9)
bestie reminder π«Ά this page is filed under ./arch/arm64/kvm/vgic and it's dated October 2026 β so go read all her friends, fr fr, they're all main character energy in their own way πβ¨
okay that's the whole page, mwah π go forth and init your vgic π§ββοΈ
π¦ 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