kvmhv_nestedv2_flush_vcpu(9)
π¦ kvmhv_nestedv2_flush_vcpu(9) π¦
ok so bestie, welcome to the Kernel API Manual β this one is a deep cut from the kvmhv_nestedv2 world and honestly it's giving "hypervisor lore, but make it fashion" π
β¨ NAME β¨
kvmhv_nestedv2_flush_vcpu β send modified Guest State IDs to the host πΈ
β¨ SYNOPSIS β¨
int kvmhv_nestedv2_flush_vcpu (struct kvm_vcpu *vcpu , u64 time_limit );
like, that's the whole vibe β one function, two args, no cap π«Ά
β¨ ARGUMENTS β¨
vcpuβ the vcpu, bestie. it's astruct kvm_vcpu *and it's literally just... the vcpu πtime_limitβ a<italic>u64</italic>holding the hdec expiry tb β°
β¨ DESCRIPTION β¨
okay so here's what's happening: this function sends the values marked by __kvmhv_nestedv2_mark_dirty to the L0 host π like, that's the whole job.
Thread wide values? those get copied to the H_GUEST_RUN_VCPU input buffer β¨ easy, slay.
Guest wide values? nope, not so fast β those need to be sent with H_GUEST_SET first π consider it a two-step, iykyk.
π bestie reminder: the hdec tb offset is always sent to L0 host. always. no exceptions, periodt.
π SEE ALSO π
- Kernel file
./arch/powerpc/kvm/book3s_hv_nestedv2.cπ __kvmhv_nestedv2_mark_dirty(9)__kvmhv_nestedv2_cached_reload(9)kvmhv_nestedv2_set_ptbl_entry(9)kvmhv_nestedv2_set_vpa(9)kvmhv_nestedv2_parse_output(9)kvmhv_nestedv2_vcpu_create(9)kvmhv_nestedv2_vcpu_free(9)
and that's the page, bestie π§ source ./arch/powerpc/kvm, dated October 2026 β signed, sealed, kvmhv_nestedv2_flush_vcpu(9) π mwah π
π¦ 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