Page MenuHomeFreeBSD

[PATCH 3/19] bhyve: use basl to load ACPI tables
ClosedPublic

Authored by corvink on Oct 14 2022, 9:00 AM.
Tags
Referenced Files
Unknown Object (File)
Mon, Oct 28, 4:15 PM
Unknown Object (File)
Sat, Oct 26, 8:04 PM
Unknown Object (File)
Oct 6 2024, 6:22 AM
Unknown Object (File)
Oct 1 2024, 7:19 AM
Unknown Object (File)
Sep 28 2024, 12:41 AM
Unknown Object (File)
Sep 27 2024, 5:21 AM
Unknown Object (File)
Sep 25 2024, 3:19 AM
Unknown Object (File)
Sep 19 2024, 10:16 PM
Subscribers

Details

Summary

Load the blobs compiled by iasl into a basl_table. The basl_table is a temporary buffer which copies the ACPI tables into guest memory for us. This allows us in the future to pass the blobs over the qemu fwcfg interface to the guest.

This is the third patch required to merge D36983

Diff Detail

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

Event Timeline

corvink edited the summary of this revision. (Show Details)
corvink retitled this revision from [acpi-tables part 3] bhyve: use basl to load ACPI tables to [PATCH 3/19] bhyve: use basl to load ACPI tables.Oct 14 2022, 9:43 AM
This revision is now accepted and ready to land.Oct 23 2022, 7:09 PM

The log message here is perhaps not clear. I think what this commit is doing is saving the output of compiled tables in in a temporary buffer so it can either be uploaded to QEMU or written into guest memory (or both) vs always writing them directly into guest memory. The tables are still written into guest memory for now, but the intermediate buffer means they could be uploaded over the QEMU port in the future.

This revision was automatically updated to reflect the committed changes.