fh_get_core_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fh_get_core_state β€” get the state of a vcpu

okay so bestie, welcome to the Kernel API Manual entry for fh_get_core_state(9) πŸ’– this one's short and sweet, and honestly it's giving "tiny function, big main character energy" ✨


🌸 SYNOPSIS

unsigned int fh_get_core_state (unsigned int handle , unsigned int vcpu
, unsigned int *state );

like, yes, that signature really does wrap across two lines, she's just built that way πŸŽ€


πŸ¦‹ ARGUMENTS

  • handle β€” the handle of the partition that contains the vcpu 🫢
  • vcpu β€” the vcpu number, within that partition (iykyk, it's scoped to the partition)
  • state β€” this is a pointer, and on the way out it holds the current state of the vcpu β€” check FH_VCPU_* for the actual values πŸ‘‘

✨ DESCRIPTION

Returns 0 for success, or an error code. that's it, that's the whole vibe 🌈

ngl bestie, the manpage does not elaborate further. so if you get a non-zero back, it's an error β€” periodt πŸ’… no cap, that's literally all it says.

πŸ”₯ SEE ALSO

Kernel file ./arch/powerpc/include/asm/fsl_hcalls.h β€” go read it, it's the source of truth 🧚

Then the whole squad of related calls, fr fr:


okay that's the page πŸ’– this little icon lives in ./arch/powerpc/include/asm, and this edition is dated October 2026, filed under fh_get_core_state(9) β€” slay, go get that vcpu state bestie πŸŽ€πŸ’œ

πŸ“¦ where this page comes from