kvm_s390_pv_destroy_page(9)
π kvm_s390_pv_destroy_page(9) π
okay bestie, welcome to the Kernel API Manual β yes, that's the manual name, we're in the kernel API girlies now π«Ά. this one's a little function with a big job, and honestly? it's giving "quietly doing the most". let's get into it β¨
πΈ NAME πΈ
kvm_s390_pv_destroy_page β literally just destroy a guest page. that's the whole assignment. π
π¦ SYNOPSIS π¦
int kvm_s390_pv_destroy_page (struct kvm *kvm , unsigned long gaddr );
that's it. two args, one int coming back at you. no cap. β¨
π ARGUMENTS π
kvmβ the guest. your main character, the whole reason we're here πgaddrβ the guest address you want to destroy. like, specifically that one π
π DESCRIPTION π
so here's the vibe. an attempt will be made to destroy the given guest page β that's the first move, that's the plan.
but if that attempt fails? we don't panic, bestie. an attempt is then made to export the page instead. pivot era π§
and if both attempts fail β like, the destroy flops AND the export flops β then an appropriate error is returned. not me getting a whole error out of this π but fr fr, that's what happens.
β CONTEXT β
may sleep.
like, the function, not you. you should also sleep tho. sleep is iconic π
π SEE ALSO π
- Kernel file
./arch/s390/kvm/s390/pv.c should_export_before_import(9)kvm_s390_pv_make_secure(9)struct pv_vm_to_be_destroyed(9)kvm_s390_pv_dispose_one_leftover(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)
the whole pv.c friend group, honestly. iykyk πΈ
π cute sign-off time: this lil page lives in ./arch/s390/kvm/s390 and it's dated October 2026. so she's from the future, she's mysterious, she destroys pages. we love her. periodt. π
β¨
okay bye bestie, go destroy some pages responsibly π«Άπ
π¦ 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