write_guest(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:

xoxo, your Unix bestie πŸ’– β€” source/version: ./arch/s390/kvm/s390; date: October 2026. slay ✨

πŸ“¦ where this page comes from