summaryrefslogtreecommitdiff
path: root/hw/i386/pc.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-10-07 22:12:00 +0300
committerMichael S. Tsirkin <mst@redhat.com>2013-10-14 17:48:57 +0300
commit1a4b2666dfbd6fbd9b5623a8e0ed6035cd0854fe (patch)
treecd9324395b2ae2df0d87087b2f738046d9e321b9 /hw/i386/pc.c
parent60de1163d5b5013fe964ac0792e9a64a823e73a3 (diff)
downloadqemu-1a4b2666dfbd6fbd9b5623a8e0ed6035cd0854fe.zip
pc: use new api to add builtin tables
At this point the only builtin table we have is the DSDT used for Q35. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r--hw/i386/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index d17d1d94b7..f8a3f0b45a 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1114,7 +1114,7 @@ void pc_acpi_init(const char *default_dsdt)
opts = qemu_opts_parse(qemu_find_opts("acpi"), arg, 0);
g_assert(opts != NULL);
- acpi_table_add(opts, &err);
+ acpi_table_add_builtin(opts, &err);
if (err) {
error_report("WARNING: failed to load %s: %s", filename,
error_get_pretty(err));