write_guest(9)
πΈ NAME πΈ
okay so bestie, welcome to write_guest(9) from the Kernel API Manual β the function whose whole job is literally copy data from kernel space to guest space. no cap, that's the vibe π
β¨
β¨ SYNOPSIS β¨
int write_guest (struct kvm_vcpu *vcpu , unsigned long ga , u8 ar , void
*data , unsigned long len );
π ARGUMENTS π
vcpuβ virtual cpu, the main character πgaβ guest address, where the guest lore happens π¦arβ access register, iconic little parameter β¨dataβ source address in kernel space, the origin story πΈlenβ number of bytes to copy, the count, periodt π’
π¦ DESCRIPTION π¦
the behaviour of write_guest is identical to write_guest_with_key, lowkey exactly the same β except that the PSW access key is used instead of an explicit argument. that's the whole plot twist, iykyk π«
π₯ SEE ALSO π₯
Kernel file: ./arch/s390/kvm/s390/gaccess.h π β and the whole friend group is here:
kvm_s390_real_to_abs(9)_kvm_s390_logical_to_effective(9)kvm_s390_logical_to_effective(9)put_guest_lc(9)write_guest_lc(9)read_guest_lc(9)write_guest_with_key(9)read_guest_with_key(9)read_guest(9)read_guest_instr(9)write_guest_abs(9)read_guest_abs(9)write_guest_real(9)read_guest_real(9)
xoxo, your Unix bestie π β source/version: ./arch/s390/kvm/s390; date: October 2026. slay β¨
π¦ 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