HomeFreeBSD

bhyve: copy OpRegion into guest memory

Description

bhyve: copy OpRegion into guest memory

This makes the OpRegion accessible by the guest. However, the guest
doesn't know the address of the OpRegion. This will be fixed by an
upcoming commit.

The range of the OpRegion is added to the e820 table. This allows the
guest firmware to easily pick up this range and to reserve it properly.

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

Details

Provenance
corvinkAuthored on May 10 2023, 11:39 AM
Reviewer
markj
Differential Revision
D40041: bhyve: copy OpRegion into guest memory
Parents
rG6952b9d25e18: bhyve: read OpRegion address and size for GVT-d
Branches
Unknown
Tags
Unknown