Received: from [140.186.70.92] (port=34204 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om84G-00037C-11 for qemu-devel@nongnu.org; Thu, 19 Aug 2010 12:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om84E-0001hA-UJ for qemu-devel@nongnu.org; Thu, 19 Aug 2010 12:34:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16953) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om84E-0001gz-J7 for qemu-devel@nongnu.org; Thu, 19 Aug 2010 12:34:14 -0400 From: Luiz Capitulino Date: Thu, 19 Aug 2010 13:33:35 -0300 Message-Id: <1282235616-20988-4-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1282235616-20988-1-git-send-email-lcapitulino@redhat.com> References: <1282235616-20988-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 3/4] QMP doc: Add 'Stability Considerations' section List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, armbru@redhat.com Signed-off-by: Luiz Capitulino --- qemu-monitor.hx | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 9c27b31..5c1da33 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -35,7 +35,29 @@ information on the Server command and response formats. NOTE: This document is temporary and will be replaced soon. -1. Regular Commands +1. Stability Considerations +=========================== + +The current QMP command set (described in this file) may be useful for a +number of use cases, however it's limited and several commands have bad +defined semantics, specially with regard to command completion. + +These problems are going to be solved incrementally in the next QEMU releases +and we're going to establish a deprecation policy for badly defined commands. + +If you're planning to adopt QMP, please observe the following: + + 1. The deprecation policy will take efect and be documented soon, please + check the documentation of each used command as soon as a new release of + QEMU is available + + 2. DO NOT rely on anything which is not explicit documented + + 3. Errors, in special, are not documented. Applications should NOT check + for specific errors classes or data (it's strongly recommended to only + check for the "error" key) + +2. Regular Commands =================== Server's responses in the examples below are always a success response, please @@ -1592,7 +1614,7 @@ HXCOMM This is required for the QMP documentation layout. SQMP -2. Query Commands +3. Query Commands ================= EQMP -- 1.7.2.1.97.g3235b