From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54690 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OatZ5-0001jj-6X for qemu-devel@nongnu.org; Mon, 19 Jul 2010 12:51:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OatZ3-0006Sb-Nm for qemu-devel@nongnu.org; Mon, 19 Jul 2010 12:51:39 -0400 Received: from mail-gx0-f173.google.com ([209.85.161.173]:35950) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OatZ3-0006SP-LS for qemu-devel@nongnu.org; Mon, 19 Jul 2010 12:51:37 -0400 Received: by gxk19 with SMTP id 19so2429362gxk.4 for ; Mon, 19 Jul 2010 09:51:36 -0700 (PDT) From: Miguel Di Ciurcio Filho Date: Mon, 19 Jul 2010 13:51:25 -0300 Message-Id: <1279558287-9446-1-git-send-email-miguel.filho@gmail.com> Subject: [Qemu-devel] [PATCH v3 0/2] QMP: Introduce query-qdm List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, lcapitulino@redhat.com, Miguel Di Ciurcio Filho , avi@redhat.com This series introduces the documentation for the query-qdm command and the conversion of the monitor command 'info qdm' to QMP. The documentation and code are based on a patch previously sent to qemu-devel by Daniel P. Berrange: http://lists.gnu.org/archive/html/qemu-devel/2010-06/msg00931.html Changelog from v2 ----------------- - added IDE and s390-virtio as possible values for "bus" - specify that the "properties" list is optional, in case the device doesn't have anything to be setup - reworded the explanation of "creatable" - reverted the qdev/qmp split, just use "type" and its json equivalent representation - do not list legacy stuff: PROP_TYPE_(VLAN|PTR|UNSPEC) Changelog from v1 ----------------- - renamed "props" to "properties" - updated the examples - reworded the explanations of "name" and "description" - split "type" into a json-object, adding "qmp" and "qdev" - list all possible values for "bus" - list all possible values for "qdev" on "type" - list all possible values for "qmp" on "type" Changes from the Daniel's original patch: - Split the patch in two, taking out the documentation from the code - Reworded some parts of the documentation and added data types - Small cleanups and renamed do_info_devices() to do_info_qdm() - Added do_info_qdm_print() to be used in the monitor Regards, Miguel --- Miguel Di Ciurcio Filho (2): QMP: Introduce the documentation for query-qdm monitor: Convert 'info qdm' to QMP hw/qdev.c | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- hw/qdev.h | 3 +- monitor.c | 3 +- qemu-monitor.hx | 71 +++++++++++++++++++++++++++++++++++ 4 files changed, 183 insertions(+), 4 deletions(-)