kvm_s390_pv_dump_complete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is kvm_s390_pv_dump_complete(9), straight from the Kernel API Manual, and bestie the NAME line is literally just kvm_s390_pv_dump_complete with no extra description after the dash, so we are not inventing one β€” the function name is the whole moment πŸ’…βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

the signature is giving:

int kvm_s390_pv_dump_complete (struct kvm *kvm , void __user *buff_user
, u16 *rc , u16 *rrc );

πŸŽ€ ARGUMENTS πŸŽ€

  • kvm β€” pointer to the guest's KVM struct, iconic and necessary 🫢
  • buff_user β€” Userspace pointer where we will write the results to, bestie
  • rc β€” Pointer to where the uvcb return code is stored
  • rrc β€” Pointer to where the uvcb return reason code is stored

🌸 DESCRIPTION 🌸

Completes the dumping operation and writes the completion data to user space. periodt πŸ’–


πŸ”₯ CONTEXT πŸ”₯

vibe check before you call: kvm->lock needs to be held, no cap πŸ”’βœ¨

⭐ RETURN ⭐

  • 0 β€” on success, slay ✨
  • -ENOMEM β€” if allocating the completion buffer fails 😭
  • -EINVAL β€” if the UV call fails, and rc and rrc will be set in this case
  • -EFAULT β€” if copying the result to buff_user failed

🌈 SEE ALSO 🌈


xoxo bestie πŸ’– source/version: ./arch/s390/kvm/s390, dated October 2026. bye 🫢✨

πŸ“¦ where this page comes from