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.
v2: - use object_child_foreach() to simplify the implementation (Andreas) Zhu Guihua (2): qdev: add list built for devices monitor: add del completion for peripheral device hw/core/qdev.c | 13 +++++++++++++ include/hw/qdev-core.h | 2 ++ monitor.c | 23 +++++++++++++++++++++++ 3 files changed, 38 insertions(+) -- 1.9.3