diff options
author | Andreas Färber | 2014-03-07 19:04:13 +0100 |
---|---|---|
committer | Andreas Färber | 2014-03-12 20:13:02 +0100 |
commit | 2b81b35f8f18d6874d1a0605ac5e40028966051b (patch) | |
tree | e991e01cf47290da7079a3424207908976a65753 /os-posix.c | |
parent | Merge remote-tracking branch 'remotes/afaerber/tags/prep-for-upstream' into s... (diff) | |
download | qemu-2b81b35f8f18d6874d1a0605ac5e40028966051b.tar.gz qemu-2b81b35f8f18d6874d1a0605ac5e40028966051b.tar.xz qemu-2b81b35f8f18d6874d1a0605ac5e40028966051b.zip |
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>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions