diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2015-12-28 18:02:09 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2016-01-08 16:01:37 +0200 |
| commit | 30bd0cf465c9c66f22e82f2aa1f1fbca7dafe102 (patch) | |
| tree | 72a60c9ec74c9d79ad5fbec4f41199978fa62304 /hw/i386/acpi-build.c | |
| parent | 7cb08cb2d7e95e2417c93796662829fd88eb3b6e (diff) | |
| download | focaccia-qemu-30bd0cf465c9c66f22e82f2aa1f1fbca7dafe102.tar.gz focaccia-qemu-30bd0cf465c9c66f22e82f2aa1f1fbca7dafe102.zip | |
pc: acpi: memhp: prepare context in SSDT for moving memhp DSDT code
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
| -rw-r--r-- | hw/i386/acpi-build.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index a5a3e3cbd2..52e4a151fc 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -956,6 +956,9 @@ build_ssdt(GArray *table_data, GArray *linker, /* Reserve space for header */ acpi_data_push(ssdt->buf, sizeof(AcpiTableHeader)); + build_memory_hotplug_aml(ssdt, nr_mem, pm->mem_hp_io_base, + pm->mem_hp_io_len); + bus = PC_MACHINE(machine)->bus; if (bus) { QLIST_FOREACH(bus, &bus->child, sibling) { |