Page MenuHomeFreeBSD

bhyve: Use pci(4) to access I/O port BARs
ClosedPublic

Authored by markj on Jul 26 2021, 4:45 PM.
Tags
None
Referenced Files
F107402564: D31308.id92752.diff
Mon, Jan 13, 4:21 PM
Unknown Object (File)
Sat, Dec 28, 1:53 AM
Unknown Object (File)
Dec 4 2024, 12:22 PM
Unknown Object (File)
Dec 4 2024, 12:01 PM
Unknown Object (File)
Dec 3 2024, 12:45 PM
Unknown Object (File)
Dec 3 2024, 12:43 PM
Unknown Object (File)
Dec 2 2024, 2:14 PM
Unknown Object (File)
Nov 16 2024, 7:47 AM

Details

Summary

This removes the dependency on /dev/io, which cannot be used in jails.

PR: 251046

Test Plan

I passed a realtek NIC through to a FreeBSD VM and configured hw.re.prefer_iomap=1
in the guest, to make it use I/O port BARs. I did some quick tests with iperf through the
passed-through NIC.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40677
Build 37566: arc lint + arc unit