qdev: add qdev_build_hotpluggable_device_list helper
commit66e56b13ad432cdb51b3319476fbb4746af5770b
authorZhu Guihua <zhugh.fnst@cn.fujitsu.com>
Tue, 21 Oct 2014 11:46:04 +0000 (21 19:46 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 23 Oct 2014 13:02:51 +0000 (23 09:02 -0400)
tree65ef11d19ee31ded25bf95b4a631c79fe7c9b087
parentf3582ba41c22bfa39fae0c771d943e8c28a7936c
qdev: add qdev_build_hotpluggable_device_list helper

For peripheral device del completion, add a function to build a list for
hotpluggable devices.

Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reviewed-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
hw/core/qdev.c
include/hw/qdev-core.h