Page MenuHomeFreeBSD

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

Authored by corvink on May 10 2023, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 17, 10:50 AM
Unknown Object (File)
Sun, Mar 16, 6:35 PM
Unknown Object (File)
Mon, Mar 3, 11:01 AM
Unknown Object (File)
Wed, Feb 26, 5:26 PM
Unknown Object (File)
Feb 10 2025, 8:26 AM
Unknown Object (File)
Jan 27 2025, 4:37 PM
Unknown Object (File)
Jan 24 2025, 5:56 PM
Unknown Object (File)
Jan 24 2025, 5:49 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/bhyve/e820.c
199

Please add a comment describing the scenario where this happens.

  • add comment to explain when adding an e820 entry is intended to fail
This revision is now accepted and ready to land.May 11 2023, 2:35 PM