summaryrefslogtreecommitdiffstats
path: root/hw/i386/acpi-build.c
diff options
context:
space:
mode:
authorGal Hammer2015-04-21 10:26:12 +0200
committerMichael S. Tsirkin2015-04-28 07:56:19 +0200
commit7824df3889499acc7466317175a3fb24a0824002 (patch)
treeda5453a3cf37c3f7361bda04e52ed5da5a7addeb /hw/i386/acpi-build.c
parentqmp-event: add event notification for memory hot unplug error (diff)
downloadqemu-7824df3889499acc7466317175a3fb24a0824002.tar.gz
qemu-7824df3889499acc7466317175a3fb24a0824002.tar.xz
qemu-7824df3889499acc7466317175a3fb24a0824002.zip
acpi: add a missing backslash to the \_SB scope.
A predefined scope in the ACPI specs is precede with a backslash. Signed-off-by: Gal Hammer <ghammer@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
-rw-r--r--hw/i386/acpi-build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 967448a1ed..02b2e0cece 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -763,7 +763,7 @@ build_ssdt(GArray *table_data, GArray *linker,
aml_append(ssdt, scope);
}
- sb_scope = aml_scope("_SB");
+ sb_scope = aml_scope("\\_SB");
{
/* create PCI0.PRES device and its _CRS to reserve CPU hotplug MMIO */
dev = aml_device("PCI0." stringify(CPU_HOTPLUG_RESOURCE_DEVICE));