STRUCT PV_VM_TO_BE_DESTROYED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pv_vm_to_be_destroyed(9) β€” like, the Kernel API Manual page you actually wanna read πŸŽ€

okay bestie, so this is a page from the Kernel API Manual and it's literally about a struct that holds a protected VM which is, yes, marked for destruction πŸ’€ β€” no cap, that's the whole vibe.


✨ NAME ✨

struct pv_vm_to_be_destroyed β€” the little container that represents a protected VM that needs to be destroyed 🫢


🌸 SYNOPSIS 🌸

struct pv_vm_to_be_destroyed {
    struct list_head list;
    unsigned long old_gmap_table;
    u64 handle;
    void *stor_var;
    unsigned long stor_base;
 };

like, that's the whole struct, copy-pasted with love, character for character πŸ’–


πŸ¦‹ Members πŸ¦‹

  • list β€” the list head for the list of leftover VMs. it's giving "linked list main character energy" πŸ‘‘
  • old_gmap_table β€” the gmap table of the leftover protected VM. yes, old, don't come for her 🌈
  • handle β€” the handle of the leftover protected VM, an actual u64, iconic ⭐
  • stor_var β€” pointer to the variable storage of the leftover protected VM πŸŽ€
  • stor_base β€” the address of the base storage of the leftover protected VM, one unsigned long of pure responsibility πŸ’…

πŸ’œ Description πŸ’œ

so this struct represents a protected VM that is still registered with the Ultravisor but which does not correspond any longer to an active KVM VM 😭 like it's on the books but nobody's home. it should be destroyed at some point later β€” either asynchronously, or when the process terminates. periodt. πŸ”₯

ngl bestie, key detail: should be destroyed at some point later. it's not optional-cute, it's an actual pending cleanup situation πŸ™ˆ

πŸ’€ SEE ALSO πŸ’€

Kernel file ./arch/s390/kvm/s390/pv.c β€” and the whole friend group:


and that's the tea πŸ“ this page came from ./arch/s390/kvm/s390, dated October 2026, and it's struct pv_vm...be_destroyed(9) if you ever need to find her again πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from