]> git.proxmox.com Git - qemu.git/commit
acpi-build: disable with -no-acpi
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 7 Nov 2013 12:12:05 +0000 (14:12 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 10 Nov 2013 10:08:38 +0000 (12:08 +0200)
commit81adc5131534ca7554cebe64cd8f86bac28dbd1b
tree5cfcc6ccb8bcc45569af8660d4b69d2ca0a70c9d
parent6b9b8758c15f3bc2875dbd6e2d03c5362b8d6902
acpi-build: disable with -no-acpi

QEMU will currently crash if started with -no-acpi flag
since acpi build code probes the PM device which isn't present
in this configuration.

To fix, don't expose ACPI tables to guest when acpi has been
disabled from command line.

Fixes LP# 1248854
https://bugs.launchpad.net/qemu/+bug/1248854

Reported-by: chao zhou <chao.zhou@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
hw/i386/acpi-build.c