VFIO_GROUP_SET_CONTAINER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Hey bestie! πŸ’– Welcome to the VFIO_GROUP_SET_CONTAINER(9) page β€” it lives in the Kernel API Manual and it is lowkey iconic. ✨

✨ NAME ✨

VFIO_GROUP_SET_CONTAINER β€” _IOW(VFIO_TYPE, VFIO_BASE + 4, __s32)

πŸŽ€ SYNOPSIS πŸŽ€

VFIO_GROUP_SET_CONTAINER

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so bestie, here’s the vibe: this sets the container for the VFIO group to the open VFIO file descriptor you provide. πŸ’…

Groups may only belong to a single container β€” periodt. Containers may, at their discretion, support multiple groups. 🫢

And the glow-up moment is this: only when a container is set are all of the interfaces of the VFIO file descriptor and the VFIO group file descriptor available to the user. That’s the unlock. ✨

πŸ’– RETURN πŸ’–

0 on success, -errno on failure. Availability: Always. πŸ”₯

🌈 SEE ALSO 🌈

Kernel file ./include/uapi/linux/vfio.h β€” go peek, iykyk. πŸ‘‘


And that’s the whole page, bestie! πŸŽ€ This one comes from ./include/uapi/linux, dated October 2026, and it’s the VFIO_GROUP_SET_CONTAINER(9) manual page. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from