ACPI: Add vmgenid blob storage to the build tables
commitc7809e6cd76dec99baf82100ff2041833df5146f
authorBen Warren <ben@skyportsystems.com>
Thu, 16 Feb 2017 23:15:35 +0000 (16 15:15 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Mar 2017 05:14:26 +0000 (2 07:14 +0200)
treeb3a53d758856ae28845a320f7b8bdc260ee332d1
parent20f5d14dc9e88339f5a5b59fb8696562022e4462
ACPI: Add vmgenid blob storage to the build tables

This allows them to be centrally initialized and destroyed

The "AcpiBuildTables.vmgenid" array will be used to construct the
"etc/vmgenid_guid" fw_cfg blob.

Its contents will be linked into fw_cfg after being built on the
pc_machine_done() -> acpi_setup() -> acpi_build() call path, and dropped
without use on the subsequent, guest triggered, acpi_build_update() ->
acpi_build() call path.

Signed-off-by: Ben Warren <ben@skyportsystems.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/aml-build.c
include/hw/acpi/aml-build.h