kvmppc_gsm_size(9)
π kvmppc_gsm_size(9) π
okay bestie, so we're deep in the Kernel API Manual today β like, kernel kernel, powerpc edition. this one's a tiny little function but she's important, i promise π«Ά
β¨ NAME β¨
kvmppc_gsm_size β creates a new guest state message π
(no bc literally that's what the page says. i don't make the rules. well, actually the kernel does. anyway β¨)
β¨ SYNOPSIS β¨
size_t kvmppc_gsm_size (struct kvmppc_gs_msg *gsm );
like, look at her. one argument, returns a size_t. she's lowkey elegant π
β¨ ARGUMENTS β¨
gsmβ self π (yeah that's it. that's the whole description. she's β¨selfβ¨. icon behavior, no notes)
β¨ DESCRIPTION β¨
Returns the size required for the message. periodt. π₯
ngl bestie, the NAME says "creates a new guest state message" and the DESCRIPTION says it returns the size required for the message β and i'm just the messenger, so i'm keeping both exactly how they are π read into that what you will
β¨ SEE ALSO β¨
the whole fam lives in the kernel file ./arch/powerpc/kvm/guest-state-buffer.c if you wanna go reading the source, and here's the entire friend group so you can go say hi π¦:
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_free(9)kvmppc_gsm_fill_info(9)kvmppc_gsm_refresh_info(9)kvmppc_gsb_send(9)kvmppc_gsb_recv(9)
and that's the whole page, bestie!! πβ¨ huge shoutout to the ./arch/powerpc/kvm directory for hosting her, and a very cute little October 2026 timestamp for the vibes ππ mwah, go read some powerpc KVM code, ily π
π¦ 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