kvmppc_gsb_send(9)
π kvmppc_gsb_send(9) π
okay so bestie, we're in the Kernel API Manual today and this one is a kernel function, not a command you type in a terminal β no cap. it lives in the powerpc KVM world and honestly? it slays at one very specific job. let's get into it π
β¨ NAME β¨
kvmppc_gsb_send β send all elements in the buffer to the hypervisor.
like, all of them. every single element. no leftovers, no crumbs. π«Ά
πΈ SYNOPSIS πΈ
int kvmppc_gsb_send (struct kvmppc_gs_buff *gsb , unsigned long flags );
that's the whole signature, character for character, so pls don't come for me about the spacing π
π¦ ARGUMENTS π¦
gsbβ girl, this is the guest state buffer. it's the whole vibe of the call, the main character. πflagsβ here's where you tell it the scope: guest wide or thread wide. choose wisely, it's giving "pick your lane". β
π₯ DESCRIPTION π₯
so what does it actually do? it performs the H_GUEST_SET_STATE hcall for the guest state buffer. that's it. that's the tweet. it takes your gsb and sends every element inside it up to the hypervisor via that hcall. π§
no extra steps, no secret sauce β the whole description is literally that one hcall, and honestly? iconic minimalism. π
π SEE ALSO π
the kernel file for all this lives at ./arch/powerpc/kvm/guest-state-buffer.c β go look, it's right there. π
and here's the entire friend group, not one of them left out, fr fr:
kvmppc_gsb_new(9)kvmppc_gsb_free(9)kvmppc_gsb_put(9)kvmppc_gsid_flags(9)kvmppc_gsid_size(9)kvmppc_gsid_mask(9)__kvmppc_gse_put(9)kvmppc_gse_parse(9)kvmppc_gsp_insert(9)kvmppc_gsp_lookup(9)kvmppc_gsbm_set(9)kvmppc_gsbm_clear(9)kvmppc_gsbm_test(9)kvmppc_gsbm_next(9)kvmppc_gsm_init(9)kvmppc_gsm_new(9)kvmppc_gsm_size(9)kvmppc_gsm_free(9)kvmppc_gsm_fill_info(9)kvmppc_gsm_refresh_info(9)kvmppc_gsb_recv(9)
that's twenty-one functions plus the file, and yes i counted, because every single one of them ate. π β¨
bye bestie!! this page came straight out of ./arch/powerpc/kvm, dated October 2026 β go read the whole thing again whenever you need a refresher, 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