kvm_s390_pv_...one_leftover(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the kvm_s390_pv_...one_leftover(9) page from the Kernel API Manual, and it's literally all about kvm_s390_pv_dispose_one_leftover β€” aka cleaning up one leftover protected VM. no cap, that's the whole vibe. 🧚✨


πŸŽ€ SYNOPSIS πŸŽ€

int kvm_s390_pv_dispose_one_leftover (struct kvm *kvm , struct
pv_vm_to_be_destroyed *leftover , u16 *rc , u16 *rrc );

🌸 ARGUMENTS 🌸

  • kvm β€” the KVM that was associated with this leftover protected VM. it's giving "who did this VM belong to again?" energy πŸ’…
  • leftover β€” details about the leftover protected VM that needs a clean up. yes bestie, we're doing cleanup duty 🧹
  • rc β€” the RC code of the Destroy Secure Configuration UVC. iconic little return-code moment ✨
  • rrc β€” the RRC code of the Destroy Secure Configuration UVC. the extra-special RRC return code, because one code was not enough, periodt πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

Destroy one leftover protected VM. that's it, that's the task. main character cleanup behavior only πŸ”₯

On success, kvm->mm->context.protected_count will be decremented atomically, and all other resources used by the VM will be freed. the way that protected_count goes down atomically? obsessed. 🫢


⭐ RETURN ⭐

0 in case of success, otherwise 1. short, sweet, and lowkey iconic πŸ˜ŒπŸ’–


🌈 SEE ALSO 🌈


and that's the whole page, bestie πŸ’œ source/version is ./arch/s390/kvm/s390, dated October 2026 β€” cute little sign-off, no notes, slay πŸŽ€βœ¨

πŸ“¦ where this page comes from