Page MenuHomeFreeBSD

bhyve: copy OpRegion into guest memory
ClosedPublic

Authored by corvink on May 10 2023, 12:45 PM.
Tags
None
Referenced Files
F115738164: D40041.diff
Sun, Apr 27, 10:41 PM
Unknown Object (File)
Wed, Apr 23, 11:02 AM
Unknown Object (File)
Wed, Apr 23, 2:52 AM
Unknown Object (File)
Wed, Apr 23, 12:47 AM
Unknown Object (File)
Mon, Apr 21, 5:17 PM
Unknown Object (File)
Mon, Apr 14, 6:55 AM
Unknown Object (File)
Sun, Apr 13, 7:32 AM
Unknown Object (File)
Mon, Apr 7, 3:46 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 51443
Build 48334: arc lint + arc unit

Event Timeline

markj added inline comments.
usr.sbin/bhyve/pci_gvt-d.c
205
This revision is now accepted and ready to land.May 11 2023, 2:58 PM
This revision was automatically updated to reflect the committed changes.