HomeFreeBSD

bhyve: Validate host PAs used to map passthrough BARs.

Description

bhyve: Validate host PAs used to map passthrough BARs.

Reject attempts to map host physical address ranges that are not
subsets of a passthrough device's BAR into a guest.

Reviewed by: markj, emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36238

Details

Provenance
jhbAuthored on Aug 19 2022, 9:59 PM
Reviewer
markj
Differential Revision
D36238: bhyve: Validate host PAs used to map passthrough BARs.
Parents
rG16bedf532c02: pci: Add helper routines to iterate over a device's BARs.
Branches
Unknown
Tags
Unknown