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

(cherry picked from commit 1115cdcf7af12fd06ca255b981cb579a7bb7a147)

Details

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