kvm_s390_cpus_from_pv(9)
okay bestie π welcome to kvm_s390_cpus_from_pv(9), straight outta the Kernel API Manual. This one is lowkey iconic: it takes a protected VM and converts, like, all of its protected vCPUs into non protected ones. no cap. β¨
πΈ NAME πΈ
kvm_s390_cpus_from_pv β convert all protected vCPUs in a protected VM to non protected. That's the whole assignment, and it ate. π
β¨ SYNOPSIS β¨
int kvm_s390_cpus_from_pv (struct kvm *kvm , u16 *rc , u16 *rrc );
π ARGUMENTS π
kvmβ the VM whose protected vCPUs are to be converted. main character energy fr.rcβ the return value for the RC field of the UVC, in case of error.rrcβ the return value for the RRC field of the UVC, in case of error.
π DESCRIPTION π
okay so here's the vibe: it does not stop in case of error π it literally tries to convert as many CPUs as possible. resilient queen behavior.
In case of error, the RC and RRC of the last error are returned. iykyk. π«Ά
π₯ RETURN π₯
Returns 0 in case of success, otherwise -EIO. periodt. π
π¦ SEE ALSO π¦
Kernel file ./arch/s390/kvm/s390/s390.c β yes bestie, go peek at the source. π
kvm_s390_update_topology_change_report(9)kvm_s390_cpus_to_pv(9)kvm_arch_vcpu_pre_fault_memory(9)kvm_test_age_gfn(9)kvm_age_gfn(9)kvm_unmap_gfn_range(9)
mwah π cute lil sign-off: this page comes from ./arch/s390/kvm/s390, October 2026, for kvm_s390_cpus_from_pv(9). byeee π«Άπ
π¦ 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