setup_apcb00(9)
π setup_apcb00(9) β from the Kernel API Manual, bestie β¨
okay so real talk, this one lives in the Kernel API Manual and it's a tiny little helper that does exactly one job and does it cute. no cap π
β¨ NAME β¨
setup_apcb00 β Copy to APCB FORMAT0 from APCB FORMAT0 π«Ά
like, it copies FORMAT0 into FORMAT0. yes bestie, that's literally what it says. iconic behavior, we don't question it π
β¨ SYNOPSIS β¨
int setup_apcb00 (struct kvm_vcpu *vcpu , unsigned long *apcb_s ,
unsigned long crycb_gpa , unsigned long *apcb_h );
that's the whole vibe check right there β
πΈ ARGUMENTS πΈ
vcpuβ pointer to the virtual CPU π like, the main character of this whole situationapcb_sβ pointer to start of apcb in the shadow crycb π¦ (the s is for shadow, iykyk)crycb_gpaβ guest physical address to start of original guest crycb π location dropapcb_hβ pointer to start of apcb in the guest1 π yes,guest1, that's the name, we're keeping it
π DESCRIPTION π
so what happens is: it does the copy. and then β this is the important part, don't skip it β it returns 0 on success and -EFAULT on error reading guest apcb π so if you see -EFAULT you know the guest apcb read went sideways, no cap.
fr fr, that's the whole function. no hidden lore, no extra flags, nothing. it's giving "small but mighty" energy π₯
π SEE ALSO π
- Kernel file
./arch/s390/kvm/s390/vsie.c setup_apcb11(9)setup_apcb(9)shadow_crycb(9)
and that's a wrap bestie π§ this page came straight out of ./arch/s390/kvm/s390, dated October 2026 β slay, obsessed, periodt π
π
π¦ 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