kvm_s390_pv_..._cleanup_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– kvm_s390_pv_..._cleanup_all(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for this absolute cleanup icon. we're talking kvm_s390_pv_deinit_cleanup_all, and yes, the title is doing the most with those ellipses. slay. ✨

πŸŽ€ NAME πŸŽ€

kvm_s390_pv_deinit_cleanup_all β€” Clean up all protected VMs associated with a specific KVM.

🌸 SYNOPSIS 🌸

int kvm_s390_pv_deinit_cleanup_all (struct kvm *kvm , u16 *rc , u16 *rrc );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • kvm β€” the KVM to be cleaned up. that's the one getting the cleanup treatment, bestie.
  • rc β€” the RC code of the first failing UVC.
  • rrc β€” the RRC code of the first failing UVC.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so this function literally cleans up all the protected VMs associated with a KVM. not just some. all. periodt. πŸ’…

that includes:

  • the active one,
  • the one prepared for deinitialization with kvm_s390_pv_set_aside,
  • and any still pending in the need_cleanup list.

it's giving full sweep energy. no protected VM left behind. 🧹✨

🚨 CONTEXT 🚨

bestie, context check: kvm->lock needs to be held unless being called from kvm_arch_destroy_vm. don't skip this, fr fr. 😭

🫢 RETURN 🫢

  • 0 if all VMs are successfully cleaned up
  • otherwise -EIO

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ source/version ./arch/s390/kvm/s390, dated October 2026, from the kvm_s390_pv_..._cleanup_all(9) page. iykyk πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from