iommu_setup_default_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the page for iommu_setup_default_domain(9) β€” yep, that's the manual name, and this is Kernel API Manual territory. πŸ’… The whole point: set the default_domain for the group. That's the name-and-purpose moment, no cap. ✨


✨ SYNOPSIS ✨

int iommu_setup_default_domain (struct iommu_group *group , int
target_type );

That's the call, bestie β€” int return, two arguments, very main-character energy. πŸŽ€


πŸŽ€ ARGUMENTS πŸŽ€

  • group β€” the group to change. Like, the actual group getting its default-domain situation adjusted. 🫢
  • target_type β€” the domain type to set as the default_domain. That's the vibe you're asking for. 🌸

πŸ¦‹ DESCRIPTION πŸ¦‹

Here's the tea, bestie: this allocates a default domain and sets it as the current domain on the group. Literally the whole glow-up. πŸ’–

If the group already has a default domain, it will be changed to target_type. So yes, it can switch things up. πŸ”₯

When target_type is 0, the default domain is selected based on driver and system preferences. That's the "let the driver and system preferences cook" case. 🧚


🌈 SEE ALSO 🌈

Kernel file: ./drivers/iommu/iommu.c β€” that's where this lives, iykyk. πŸ‘‘

The whole SEE ALSO squad, in order:


okay that's the page! cute sign-off time: source/version is ./drivers/iommu, dated October 2026, and it's the iommu_setup_default_domain(9) manual. mwah, go be iconic with those IOMMU groups πŸ’‹πŸ’–πŸŽ€

πŸ“¦ where this page comes from