VFIO_GROUP_UNSET_CONTAINER(9)
π¦ VFIO_GROUP_UNSET_CONTAINER π¦
Bestie, welcome to the Kernel API Manual entry for VFIO_GROUP_UNSET_CONTAINER β yes, the name is long, but it's giving iconic cleanup energy. π
β¨ NAME β¨
It's literally VFIO_GROUP_UNSET_CONTAINER, and its whole identity is _IO(VFIO_TYPE, VFIO_BASE + 5). π
π SYNOPSIS π
VFIO_GROUP_UNSET_CONTAINER
πΈ DESCRIPTION πΈ
Okay so what it does: it removes the group from the attached container. This is the opposite of the SET_CONTAINER call, and it returns the group to an initial state.
Before you call this interface, all device file descriptors must be released β no cap, that's a hard requirement. π«Ά
When you're removing the last group from a container, the IOMMU will be disabled and all state lost, effectively also returning the VFIO file descriptor to an initial state. Big yikes if you weren't ready, but that's the vibe. π
π RETURN π
0on success-errnoon failure- Availability: When attached to container
π₯ SEE ALSO π₯
Kernel file: ./include/uapi/linux/vfio.h
VFIO_GET_API_VERSION(9)VFIO_CHECK_EXTENSION(9)VFIO_SET_IOMMU(9)VFIO_GROUP_SET_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)
That's the whole page, bestie. It's sourced from ./include/uapi/linux, dated October 2026 β mwah, bye! ππ«Ά
π¦ 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