fpu_enable_...xfd_features(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fpu_enable_...xfd_features(9) β€” like, the whole glow-up

okay so bestie, welcome to the Kernel API Manual ✨ this is the page for fpu_enable_guest_xfd_features, and yes the title is abbreviated with dots because kernel manpage titles are dramatic like that πŸŽ€


🌸 NAME 🌸

fpu_enable_guest_xfd_features β€” check the xfeatures against the guest perm and enable them πŸ¦‹


✨ SYNOPSIS ✨

int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures);

πŸŽ€ ARGUMENTS πŸŽ€

  • guest_fpu β€” a pointer to the guest FPU container 🫢 literally just the container, she's holding the goods
  • xfeatures β€” the features that the guest CPUID requested πŸ‘‘ i.e. what the guest is asking for

πŸ’– DESCRIPTION πŸ’–

Enable all the dynamic xfeatures β€” and the way it decides is by checking the guest perm against the requested CPUID 😌 so like, permission check first, then the enabling, slay πŸ’…


πŸ”₯ RETURN πŸ”₯

0 on success πŸŽ‰ …and an error code otherwise 😭 no in-between, fr fr


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./arch/x86/kernel/fpu/core.c β€” go read the source, iykyk πŸ’œ
  • fpu_sync_guest_vmexit_xfd_state(9) β€” her sibling page, iconic, go say hi 🌈

ok that's the whole thing bestie, no cap 🧚 and just so we're keeping receipts: this one lives in ./arch/x86/kernel/fpu, dated October 2026 β€” periodt πŸ’…β­πŸ“

πŸ“¦ where this page comes from