From 66e56b13ad432cdb51b3319476fbb4746af5770b Mon Sep 17 00:00:00 2001 From: Zhu Guihua Date: Tue, 21 Oct 2014 19:46:04 +0800 Subject: 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 Reviewed-by: Marcel Apfelbaum Reviewed-by: Igor Mammedov Signed-off-by: Luiz Capitulino --- include/hw/qdev-core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index 1fca75c591..22820fef5a 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -360,6 +360,8 @@ extern int qdev_hotplug; char *qdev_get_dev_path(DeviceState *dev); +int qdev_build_hotpluggable_device_list(Object *obj, void *opaque); + void qbus_set_hotplug_handler(BusState *bus, DeviceState *handler, Error **errp); -- cgit v1.2.3-55-g7522