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
Unknown Object (File)
Mar 10 2023, 4:16 AM
Unknown Object (File)
Feb 15 2023, 9:46 PM
Unknown Object (File)
Feb 14 2023, 2:12 AM
Unknown Object (File)
Dec 31 2022, 2:43 AM
Unknown Object (File)
Dec 31 2022, 2:43 AM
Unknown Object (File)
Dec 31 2022, 2:42 AM
Unknown Object (File)
Dec 31 2022, 2:39 AM
Unknown Object (File)
Dec 20 2022, 4:36 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable