On Tue, 21 Oct 2014 19:46:03 +0800 Zhu Guihua <zhugh.f...@cn.fujitsu.com> wrote:
> After inputting device_del command in monitor, we expect to list all > hotpluggable devices automatically by pressing tab key. This patchset provides > the function to list all peripheral devices such as memory devices. Applied to the qmp branch, thanks. > > v5: > - In patch 2, make list to free (Marcel) > > v4: > - Delete unused device_del_bus_completion (Igor) > - Modify the way to get value of hotpluggable property (Igor) > > v3: > - Commit message changes (Igor) > - Rename function in patch 1 (Igor) > - Use 'hotpluggable' property to discard non-hotpluggable devices (Igor) > > v2: > - Use object_child_foreach() to simplify the implementation (Andreas) > > > Zhu Guihua (3): > qdev: add qdev_build_hotpluggable_device_list helper > monitor: add del completion for peripheral device > monitor: delete device_del_bus_completion > > hw/core/qdev.c | 13 +++++++++++++ > include/hw/qdev-core.h | 2 ++ > monitor.c | 28 +++++++++++++++++----------- > 3 files changed, 32 insertions(+), 11 deletions(-) >