VFIO_GROUP_SET_CONTAINER(9)
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. π
VFIO_GET_API_VERSION(9)VFIO_CHECK_EXTENSION(9)VFIO_SET_IOMMU(9)VFIO_GROUP_UNSET_CONTAINER(9)VFIO_GROUP_GET_DEVICE_FD(9)struct vfio_region_gfx_edid(9)VFIO_DEVICE_RESET(9)VFIO_DEVICE_GET_GFX_DMABUF(9)VFIO_IOMMU_SPAPR_UNREGISTER_MEMORY(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms