]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: copy OpRegion into guest memory
authorCorvin Köhne <corvink@FreeBSD.org>
Wed, 10 May 2023 11:39:56 +0000 (13:39 +0200)
committerCorvin Köhne <corvink@FreeBSD.org>
Fri, 18 Aug 2023 07:32:08 +0000 (09:32 +0200)
commit04e774846c9d2e37287a1ddd6e7b0cde5d994ed1
tree189ed8a039e2916b40ccd5ca2f4d6619e6f70173
parentb260e413b4b7053e4c7a4521e4e9823bb01515be
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)
usr.sbin/bhyve/pci_gvt-d.c