Andreas Färber 2b81b35f8f qdev: Fix bus dependency of DeviceState::hotpluggable getter
Commit 1a37eca107cece3ed454bae29eef0bd1fac4a244 (qdev: add
"hotpluggable" property to Device) added a property "hotpluggable" to
each device, with its getter accessing parent_bus->allow_hotplug.

Add a NULL check.

Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-03-12 20:13:02 +01:00
..
2013-07-29 21:06:37 +02:00
2014-02-10 10:23:35 +02:00
2014-03-11 13:25:48 +02:00
2014-02-10 10:23:35 +02:00
2013-04-16 10:04:23 +02:00