summary refs log tree commit diff stats
path: root/qemu-objects.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-10 11:11:06 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:44 -0600
commit09e3acc6cfabfd85a9dacc04471df5f05019c779 (patch)
tree84e2a2cd1a21bbe0c94385b1766c78afca444001 /qemu-objects.h
parent53e0d8affe8514b070db2d265af13a534cb8eda4 (diff)
downloadfocaccia-qemu-09e3acc6cfabfd85a9dacc04471df5f05019c779.tar.gz
focaccia-qemu-09e3acc6cfabfd85a9dacc04471df5f05019c779.zip
pci: don't hw_error() when no slot is available.
Current PCI code will simply hw_error() and thus abort in case no free
PCI slot is available or the requested PCI slot is already in use by
another device.  For the hotplug case this behavior is not acceptable.
This patch makes qemu pass up the error properly, so the calling code
can decide whenever it wants to exit with an error (on startup) or
whenever it wants to continue (hotplug).

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