set_root_gid_to_guest_gid(9)
π set_root_gid_to_guest_gid(9) β a Kernel API Manual moment β¨
okay so bestie, welcome to set_root_gid_to_guest_gid, straight outta the Kernel API Manual π this one's short, sweet, and very MIPS-core, so buckle up π¦
πΈ NAME πΈ
set_root_gid_to_guest_gid β literally just sets GuestCtl1.RID to match GuestCtl1.ID π no cap.
β¨ SYNOPSIS β¨
void set_root_gid_to_guest_gid (void );
she takes nothing, she returns nothing, she's booked and busy π
π«Ά ARGUMENTS π«Ά
voidβ no arguments. none. zero. the girlies are empty-handed π
π DESCRIPTION π
so what she does is set the root GuestID to match the current guest GuestID β¨ and why, you ask? because it's for a TLB operation on the GPA->RPA mappings in the root TLB β that's the whole vibe, iykyk π§
π real talk though: the caller must be sure to disable HTW while the root GID is set, and possibly longer if TLB registers are modified. like, do not skip this step bestie, it's giving load-bearing caveat π
β SEE ALSO β
- Kernel file
./arch/mips/kvm/tlb.cclear_root_gid(9) kvm_vz_guest_tlb_lookup(9)kvm_vz_local_flush_roottlb_all_guests(9)kvm_vz_local_flush_guesttlb_all(9)kvm_vz_save_guesttlb(9)kvm_vz_load_guesttlb(9)
go read those too, they're all in the same friend group π«Άπ₯
and that's the whole page, bestie β slay π this iconic little number lives in ./arch/mips/kvm and the footer says October 2026, with the title being set_root_gid_to_guest_gid(9) ofc ππ mwah, go touch some TLB registers (carefully) π
π¦ 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