ne_setup_cpu_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ne_setup_cpu_pool(9) β€” the Kernel API Manual glow-up ✨

okay bestie, so this is ne_setup_cpu_pool(9) from the Kernel API Manual, and it's literally the bouncer at the club door for your NE CPU pool πŸŽ€ Let's get into it.


🌸 NAME 🌸

ne_setup_cpu_pool β€” sets up the NE CPU pool after it's done handling all the sanity checks, and the sanity checks are not optional, they're the whole vibe fr fr. Like, it checks that you're not sharing CPU cores with the primary / parent VM (rude), and that you're not using CPU 0, because CPU 0 should stay available for the primary / parent VM πŸ‘‘. Then, once the checks pass, it offlines the CPUs from the pool. Periodt.


✨ SYNOPSIS ✨

int ne_setup_cpu_pool (const char *ne_cpu_list );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ne_cpu_list β€” the CPU list used for setting the NE CPU pool. That's the one (1) thing you hand it, bestie πŸ’–

πŸŽ€ CONTEXT πŸŽ€

Process context. That's it, that's the context πŸ™ˆ


⭐ RETURN ⭐

  • 0 on success β€” slay πŸ’…
  • Negative return value on failure β€” not slay 😭

🌈 SEE ALSO 🌈

Like, go read these too, they're all iconic in their own way:


🫢 tiny reminder for the group chat: CPU 0 stays with the primary / parent VM, no cap. Don't try it. πŸ’€

and that's the page!! brought to you by ./drivers/virt/nitro_enclaves 🌸, dated October 2026, and honestly? she ate πŸ”₯ mwah πŸ’œ

πŸ“¦ where this page comes from