Page MenuHomeFreeBSD

bhyve: build SPCR ACPI table
ClosedPublic

Authored by corvink on Dec 2 2022, 9:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 5:38 AM
Unknown Object (File)
Jan 29 2024, 7:53 PM
Unknown Object (File)
Jan 22 2024, 1:52 AM
Unknown Object (File)
Dec 20 2023, 8:30 AM
Unknown Object (File)
Dec 12 2023, 2:18 AM
Unknown Object (File)
Nov 4 2023, 11:45 AM
Unknown Object (File)
Oct 12 2023, 12:58 AM
Unknown Object (File)
Sep 30 2023, 7:14 PM
Subscribers

Details

Summary

OVMF ships some static ACPI tables. This worked in the past but won't
work in the future when we support devices like tpms. They require a TPM
ACPI table. So, we have to dynamically create ACPI tables depending on
the bhyve configuration.

Bhyve has much more information about the system than OVMF. Therefore,
it's easier for bhyve to build up some ACPI tables. For that reason, it
would be much better to use the ACPI tables provided by bhyve instead of
building some tables by OVMF.

At the moment, OVMF always creates a SPCR table. Maybe someone depends
on it. So, we have to build it by bhyve too before we can patch OVMF to
install the tables provided by bhyve.

Diff Detail

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