Page MenuHomeFreeBSD

bhyve: make most of the iommu_ops interfaces return error
ClosedPublic

Authored by kib on Apr 2 2025, 12:12 AM.
Tags
None
Referenced Files
F147328506: D49629.id153009.diff
Tue, Mar 10, 12:51 AM
Unknown Object (File)
Sun, Mar 8, 5:05 PM
Unknown Object (File)
Sun, Mar 8, 11:25 AM
Unknown Object (File)
Sun, Mar 8, 5:43 AM
Unknown Object (File)
Wed, Feb 18, 1:46 PM
Unknown Object (File)
Tue, Feb 17, 7:13 AM
Unknown Object (File)
Sun, Feb 8, 7:16 AM
Unknown Object (File)
Feb 7 2026, 11:30 PM

Details

Summary

and change create_mapping()/remove_mapping() to allow shorten results.
bhyve IOMMU_REMOVE_DEVICE(): ignore iommu absence for sake of ppt_attach()

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Apr 2 2025, 12:12 AM
sys/amd64/vmm/io/iommu.c
241

Did you plan to handle it in this patch?

sys/amd64/vmm/vmm.c
866

Should this block be deleted?

kib marked 2 inline comments as done.

Fix two todos.

This revision is now accepted and ready to land.Apr 5 2025, 3:55 PM