VFIO_CHECK_EXTENSION(9)
β¨ VFIO_CHECK_EXTENSION π
okay so this is a page from the Kernel API Manual, and the star of the show is VFIO_CHECK_EXTENSION β literally the vibe check for VFIO extensions π¦
πΈ NAME πΈ
VFIO_CHECK_EXTENSION β bestie, it's _IOW(VFIO_TYPE, VFIO_BASE + 1, __u32)
like, that's the whole ioctl incantation, no cap β¨
π SYNOPSIS π
VFIO_CHECK_EXTENSION
π DESCRIPTION π
It checks whether an extension is supported. That's it. That's the function π«Ά
lowkey the most straightforward icon in the whole VFIO friend group β it just looks at an extension and goes "supported? not supported?" and moves on π
β RETURN β
0β not supported π1(or some other positive integer) β supported, slay π
Availability: Always. Like, always always. It's giving reliable main character energy π₯
π¦ SEE ALSO π¦
Kernel file ./include/uapi/linux/vfio.h β go read it, iykyk π
and the whole friend group:
VFIO_GET_API_VERSION(9)VFIO_SET_IOMMU(9)VFIO_GROUP_SET_CONTAINER(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)
okay that's the page!! mwah π β brought to you from ./include/uapi/linux, dated October 2026, and logged in the manual as VFIO_CHECK_EXTENSION(9). go check some extensions bestie, you got this ππ
π¦ 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