kvm_s390_pv_...one_leftover(9)
π 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 π
- Kernel file
./arch/s390/kvm/s390/pv.c should_export_before_import(9)kvm_s390_pv_make_secure(9)kvm_s390_pv_destroy_page(9)struct pv_vm_to_be_destroyed(9)kvm_s390_pv_set_aside(9)kvm_s390_pv_deinit_vm(9)kvm_s390_pv_deinit_cleanup_all(9)kvm_s390_pv_deinit_aside_vm(9)kvm_s390_pv_dump_stor_state(9)kvm_s390_pv_dump_complete(9)
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
- 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