Page MenuHomeFreeBSD

bhyve: copy OpRegion into guest memory
ClosedPublic

Authored by corvink on May 10 2023, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 23 2024, 1:54 AM
Unknown Object (File)
Jan 4 2024, 3:08 AM
Unknown Object (File)
Dec 20 2023, 7:23 AM
Unknown Object (File)
Dec 11 2023, 1:10 AM
Unknown Object (File)
Dec 1 2023, 1:49 AM
Unknown Object (File)
Nov 26 2023, 12:24 AM
Unknown Object (File)
Nov 26 2023, 12:24 AM
Unknown Object (File)
Nov 26 2023, 12:22 AM
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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added inline comments.
usr.sbin/bhyve/pci_gvt-d.c
228
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.