aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu/hw/pc.c
diff options
context:
space:
mode:
authorchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>2006-08-09 19:57:03 +0100
committerchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>2006-08-09 19:57:03 +0100
commit559b3dff6db278f0e3f368599a7ada55ab37637f (patch)
treee869d09186763228abaca1eae92406057088c1a3 /tools/ioemu/hw/pc.c
parent5714e01bacc149732bcf45335fc31e8069e6d332 (diff)
downloadxen-559b3dff6db278f0e3f368599a7ada55ab37637f.tar.gz
xen-559b3dff6db278f0e3f368599a7ada55ab37637f.tar.bz2
xen-559b3dff6db278f0e3f368599a7ada55ab37637f.zip
[qemu] Disable qemu's acpi support.
Based on a patch from: Wang, Winston L <winston.l.wang@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Diffstat (limited to 'tools/ioemu/hw/pc.c')
-rw-r--r--tools/ioemu/hw/pc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/ioemu/hw/pc.c b/tools/ioemu/hw/pc.c
index 6bd7288b25..7dd1f75203 100644
--- a/tools/ioemu/hw/pc.c
+++ b/tools/ioemu/hw/pc.c
@@ -885,9 +885,11 @@ static void pc_init1(uint64_t ram_size, int vga_ram_size, int boot_device,
usb_uhci_init(pci_bus, piix3_devfn + 2);
}
- if (pci_enabled && acpi_enabled && 0) {
+#ifndef CONFIG_DM
+ if (pci_enabled && acpi_enabled) {
piix4_pm_init(pci_bus, piix3_devfn + 3);
}
+#endif /* !CONFIG_DM */
#if 0
/* ??? Need to figure out some way for the user to
@@ -910,8 +912,10 @@ static void pc_init1(uint64_t ram_size, int vga_ram_size, int boot_device,
/* XXX: should be done in the Bochs BIOS */
if (pci_enabled) {
pci_bios_init();
+#ifndef CONFIG_DM
if (acpi_enabled)
acpi_bios_init();
+#endif /* !CONFIG_DM */
}
}