thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
0a122b
From bc610d00154bcd6548c84554d7b647a64834a807 Mon Sep 17 00:00:00 2001
0a122b
Message-Id: <bc610d00154bcd6548c84554d7b647a64834a807.1387298827.git.minovotn@redhat.com>
0a122b
In-Reply-To: <3ed0fb61a3dc912ef036d7ef450bed192090709e.1387298827.git.minovotn@redhat.com>
0a122b
References: <3ed0fb61a3dc912ef036d7ef450bed192090709e.1387298827.git.minovotn@redhat.com>
0a122b
From: "Michael S. Tsirkin" <mst@redhat.com>
0a122b
Date: Tue, 17 Dec 2013 15:19:05 +0100
0a122b
Subject: [PATCH 47/56] pc: use new api to add builtin tables
0a122b
0a122b
RH-Author: Michael S. Tsirkin <mst@redhat.com>
0a122b
Message-id: <1387293161-4085-48-git-send-email-mst@redhat.com>
0a122b
Patchwork-id: 56352
0a122b
O-Subject: [PATCH qemu-kvm RHEL7.0 v2 47/57] pc: use new api to add builtin tables
0a122b
Bugzilla: 1034876
0a122b
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
0a122b
RH-Acked-by: Marcel Apfelbaum <marcel.a@redhat.com>
0a122b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
0a122b
0a122b
At this point the only builtin table we have is
0a122b
the DSDT used for Q35.
0a122b
0a122b
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
0a122b
(cherry picked from commit 1a4b2666dfbd6fbd9b5623a8e0ed6035cd0854fe)
0a122b
---
0a122b
 hw/i386/pc.c | 2 +-
0a122b
 1 file changed, 1 insertion(+), 1 deletion(-)
0a122b
0a122b
Signed-off-by: Michal Novotny <minovotn@redhat.com>
0a122b
---
0a122b
 hw/i386/pc.c | 2 +-
0a122b
 1 file changed, 1 insertion(+), 1 deletion(-)
0a122b
0a122b
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
0a122b
index 4d54c0b..041e537 100644
0a122b
--- a/hw/i386/pc.c
0a122b
+++ b/hw/i386/pc.c
0a122b
@@ -1109,7 +1109,7 @@ void pc_acpi_init(const char *default_dsdt)
0a122b
         opts = qemu_opts_parse(qemu_find_opts("acpi"), arg, 0);
0a122b
         g_assert(opts != NULL);
0a122b
 
0a122b
-        acpi_table_add(opts, &err;;
0a122b
+        acpi_table_add_builtin(opts, &err;;
0a122b
         if (err) {
0a122b
             error_report("WARNING: failed to load %s: %s", filename,
0a122b
                          error_get_pretty(err));
0a122b
-- 
0a122b
1.7.11.7
0a122b