pc: use new api to add builtin tables
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Oct 2013 19:12:00 +0000 (22:12 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Oct 2013 14:48:57 +0000 (17:48 +0300)
At this point the only builtin table we have is
the DSDT used for Q35.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c

index d17d1d94b7632924633ac221985626405bcec13f..f8a3f0b45a73bfd7f1dd2716d723d8e8e717ad90 100644 (file)
@@ -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));