check_gva_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ check_gva_range(9) ✨

okay so bestie, welcome to the Kernel API Manual (section 9, the fancy kernel-functions one πŸ’…) β€” today's main character is check_gva_range, and honestly? She does exactly one thing and she does it slay.

πŸŽ€ NAME πŸŽ€

check_gva_range β€” test a range of guest virtual addresses for accessibility πŸ¦‹

like. she's the vibe check for memory ranges. no cap.

✨ SYNOPSIS ✨

int check_gva_range (struct kvm_vcpu *vcpu , unsigned long gva , u8 ar ,
       unsigned long length , enum gacc_mode mode , u8 access_key );

look at her. six arguments. iconic. πŸ’–

🌸 ARGUMENTS 🌸

  • vcpu β€” the virtual cpu 🧚 (her little home base)
  • gva β€” Guest virtual address, aka where the range starts
  • ar β€” Access register
  • length β€” Length of test range (yes, the whole stretch you're checking, not just one address)
  • mode β€” Translation access mode
  • access_key β€” access key to mach the storage keys with πŸ”‘
ok tiny heads-up: "mach" is literally how the original spells it β€” I'm not fixing it, I'm just delivering the facts with love πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

bestie you are gonna want the whole group chat, because these functions are all in the same friend group:

go read them all. iykyk. πŸ‘‘


that's the whole page, periodt πŸ’… shoutout to ./arch/s390/kvm/s390 for being the source, October 2026 for the date stamp, and the kernel API manual for letting her be in her section 9 era 🫢 ⭐ 🌈

πŸ“¦ where this page comes from