HomeFreeBSD

bhyve: don't panic if e820 finds no available memory

Description

bhyve: don't panic if e820 finds no available memory

The GVT-d emulation tries to allocate some specific memory. It could
happen that this address doesn't exist. In that case, GVT-d will fall
back to allocate any address. Nevertheless, this only works if the e820
fails with an error instead of exiting on an assertion.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D40034

(cherry picked from commit 99aeb28b2f7e28c516dd6434db63a9bc1c1f3218)

Details

Provenance
corvinkAuthored on May 9 2023, 12:32 PM
Reviewer
markj
Differential Revision
D40034: bhyve: don't panic if e820 finds no available memory
Parents
rGa6b804a4f6f4: ixgbe: Check for fw_recovery
Branches
Unknown
Tags
Unknown