From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf3y3-0005H3-Fn for qemu-devel@nongnu.org; Fri, 17 Oct 2014 05:37:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf3xx-0006Z9-7M for qemu-devel@nongnu.org; Fri, 17 Oct 2014 05:37:03 -0400 Received: from [59.151.112.132] (port=30375 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf3xv-0006WL-2R for qemu-devel@nongnu.org; Fri, 17 Oct 2014 05:36:57 -0400 From: Zhu Guihua Date: Fri, 17 Oct 2014 17:35:57 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v4 0/3] monitor: add peripheral device del completion support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.crosthwaite@xilinx.com, Zhu Guihua , mst@redhat.com, hutao@cn.fujitsu.com, armbru@redhat.com, lcapitulino@redhat.com, isimatu.yasuaki@jp.fujitsu.com, imammedo@redhat.com, pbonzini@redhat.com, tangchen@cn.fujitsu.com, afaerber@suse.de 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. 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 | 26 +++++++++++++++----------- 3 files changed, 30 insertions(+), 11 deletions(-) -- 1.9.3