kvm_s390_ch...dr_prot_real(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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