HomeFreeBSD

bhyve: trap protected BAR regions of passthru devices

Description

bhyve: trap protected BAR regions of passthru devices

At the moment, the list of protected BAR regions is unused by the passthru
emulation. Make use of it when mapping the BAR regions. This causes bhyve to
trap those regions.

Reviewed by: jhb
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D45340

Details

Provenance
corvinkAuthored on Jan 8 2024, 2:01 PM
Reviewer
jhb
Differential Revision
D45340: bhyve: trap protected BAR regions of passthru devices
Parents
rGdf6c805ca125: bhyve: add BAR handler list for passthru devices
Branches
Unknown
Tags
Unknown