fh_enter_nap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’€ fh_enter_nap(9) πŸ’€

Okay bestie, welcome to fh_enter_nap(9) from the Kernel API Manual β€” we're making a vcpu take a lil nap, and it's giving power-nap energy, no cap. ✨


✨ NAME ✨

fh_enter_nap β€” enter nap on a vcpu πŸ’…

πŸ›Œ SYNOPSIS πŸ›Œ

unsigned int fh_enter_nap (unsigned int handle , unsigned int vcpu );

🫢 ARGUMENTS 🫢

  • handle β€” handle of partition containing the vcpu. That's the partition pass, iykyk πŸŽ€
  • vcpu β€” vcpu number within the partition. The specific vcpu bestie we're talking about 😴

πŸ’€ DESCRIPTION πŸ’€

So here's the tea: even though the API supports entering nap on a vcpu other than the caller, this may not be implemented and may return EINVAL. Periodt. 🫠

It returns 0 for success, or an error code. So 0 is the slay outcome, and anything else is an error code doing its own thing πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./arch/powerpc/include/asm/fsl_hcalls.h β€” plus the whole fh cinematic universe, bestie:


xoxo, the Kernel API Manual 🫢 β€” source/version ./arch/powerpc/include/asm, dated October 2026, page fh_enter_nap(9) πŸ’–

πŸ“¦ where this page comes from