kvm_s390_ch...dr_prot_real(9)
π kvm_s390_check_low_addr_prot_real(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a little slice of s390 KVM magic, and honestly? It's giving "small function, big responsibility." Let's get into it π«Ά
πΈ NAME πΈ
kvm_s390_check_low_addr_prot_real β literally just checks for low-address protection π
β SYNOPSIS β
int kvm_s390_check_low_addr_prot_real (struct kvm_vcpu *vcpu , unsigned
long gra );
π ARGUMENTS π
vcpuβ the virtual cpu in question, your main character πgraβ Guest real address, aka the address we're side-eyeing π
π¦ DESCRIPTION π¦
So what it does is: it checks whether an address is subject to low-address protection, and if it is, it sets up vcpu->arch.pgm accordingly. No cap, that's the whole vibe check π₯
Like, think of it as the bouncer at the club β is this address on the protected list or not? If yes, vcpu->arch.pgm gets set up so the guest finds out. Periodt π
π RETURN π
0β no protection exception, we're chilling πPGM_PROTECTIONβ protected π¨ like, blocked, denied, protected, the whole thing
β¨ SEE ALSO β¨
Sending you to the group chat of related functions, all in the kernel file ./arch/s390/kvm/s390/gaccess.c:
guest_translate_gva(9)guest_range_to_gpas(9)__cmpxchg_with_key(9)cmpxchg_guest_abs_with_key(9)guest_translate_address_with_key(9)check_gva_range(9)check_gpa_range(9)walk_guest_tables(9)__gaccess_shadow_fault(9)
bestie reminder: low-address protection is real, and this function takes it very seriously π«‘
and that's the page!! π brought to you by ./arch/s390/kvm/s390, dated October 2026, filed under kvm_s390_ch...dr_prot_real(9) β mwah, go slay some address checks π§ββοΈπ
π¦ 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