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)
Wed, Nov 6, 2:49 PM
Unknown Object (File)
Fri, Nov 1, 5:14 AM
Unknown Object (File)
Wed, Oct 23, 1:45 AM
Unknown Object (File)
Oct 9 2024, 5:25 PM
Unknown Object (File)
Oct 3 2024, 10:15 AM
Unknown Object (File)
Sep 30 2024, 4:28 PM
Unknown Object (File)
Sep 26 2024, 1:43 AM
Unknown Object (File)
Sep 16 2024, 10:38 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 51436
Build 48327: arc lint + arc unit

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