summary refs log tree commit diff stats
path: root/qemu-option.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-10 11:11:05 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:44 -0600
commit53e0d8affe8514b070db2d265af13a534cb8eda4 (patch)
tree11114ca92af003b6c4f4fa01acb50758d6c0b2c1 /qemu-option.c
parent986c5f78543bdbd696664447ecdd08cf6d935370 (diff)
downloadfocaccia-qemu-53e0d8affe8514b070db2d265af13a534cb8eda4.tar.gz
focaccia-qemu-53e0d8affe8514b070db2d265af13a534cb8eda4.zip
pci: don't abort() when trying to hotplug with acpi off.
The PCI bus on x86 requires ACPI for hotplug support, thus disbling ACPI
also disables hotplug for the PCI bus.  This patch makes qemu check
whenever the PCI bus in question can handle hotplug before trying to add
devices.  This is needed because qdev will abort() on any attempt to
hotplug devices into a non-hotpluggable bus.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-option.c')
0 files changed, 0 insertions, 0 deletions