HomeFreeBSD

bhyve: remove empty E820 entries

Description

bhyve: remove empty E820 entries

When reserving a block with the same size of a RAM segement, we can end up with
an empty RAM segmenet. Avoid that by removing this empty segment from the E820
table.

Reviewed by: jhb, markj (older version)
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D45480

(cherry picked from commit f325f81f4ab93646debed0c2291c4c7f31470cfb)

Details

Provenance
corvinkAuthored on Jun 4 2024, 7:38 AM
Reviewer
jhb
Differential Revision
D45480: bhyve: remove empty E820 entries
Parents
rG1616f7d4b57b: bhyve: avoid a potential deadlock
Branches
Unknown
Tags
Unknown