From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYtwO-0006B5-9u for qemu-devel@nongnu.org; Tue, 30 Sep 2014 05:41:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYtwI-00022C-3M for qemu-devel@nongnu.org; Tue, 30 Sep 2014 05:41:52 -0400 Received: from [59.151.112.132] (port=36473 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYtwH-000202-NW for qemu-devel@nongnu.org; Tue, 30 Sep 2014 05:41:46 -0400 From: Zhu Guihua Date: Tue, 30 Sep 2014 17:40:33 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 0/2] 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, kroosec@gmail.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. 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