qemu-e2k/hw/core
Igor Mammedov 120dc38f61 qdev: skip bus check for bus-less devices in qdev_unplug()
Since commit 2f7bd829db "qdev: Fix device_add bus assumptions"
it's possible to device_add bus-less device, but if such device is
unplugged it will dereference NULL parent_bus in qdev_unplug().

Fix it by taking in account that parent_bus might be NULL and
skipping bus check.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 1367587536-14964-1-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-05-03 12:05:33 -05:00
..
empty_slot.c
irq.c
loader.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
Makefile.objs qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
null-machine.c
ptimer.c
qdev-properties-system.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
qdev-properties.c qdev: Add qdev property for bool type 2013-04-16 01:19:46 +02:00
qdev.c qdev: skip bus check for bus-less devices in qdev_unplug() 2013-05-03 12:05:33 -05:00
stream.c stream: Remove app argument hack 2013-04-16 10:04:23 +02:00
sysbus.c
uboot_image.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00