diff options
| author | Ben Warren | 2017-02-17 00:15:35 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-03-02 06:14:26 +0100 |
| commit | c7809e6cd76dec99baf82100ff2041833df5146f (patch) | |
| tree | b3a53d758856ae28845a320f7b8bdc260ee332d1 /include | |
| parent | docs: VM Generation ID device description (diff) | |
| download | qemu-c7809e6cd76dec99baf82100ff2041833df5146f.tar.gz qemu-c7809e6cd76dec99baf82100ff2041833df5146f.tar.xz qemu-c7809e6cd76dec99baf82100ff2041833df5146f.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/acpi/aml-build.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h index 559326cbd5..00c21f160c 100644 --- a/include/hw/acpi/aml-build.h +++ b/include/hw/acpi/aml-build.h @@ -210,6 +210,7 @@ struct AcpiBuildTables { GArray *table_data; GArray *rsdp; GArray *tcpalog; + GArray *vmgenid; BIOSLinker *linker; } AcpiBuildTables; |
