From patchwork Thu Jan 31 07:12:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Orit Wasserman X-Patchwork-Id: 217105 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DA0AA2C0296 for ; Thu, 31 Jan 2013 18:11:31 +1100 (EST) Received: from localhost ([::1]:33571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0oIz-0000Bx-RS for incoming@patchwork.ozlabs.org; Thu, 31 Jan 2013 02:11:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0oIg-0008W8-AC for qemu-devel@nongnu.org; Thu, 31 Jan 2013 02:11:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0oIf-0002Zm-9Y for qemu-devel@nongnu.org; Thu, 31 Jan 2013 02:11:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0oIf-0002Ye-25 for qemu-devel@nongnu.org; Thu, 31 Jan 2013 02:11:09 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0V7B8fC028029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 31 Jan 2013 02:11:08 -0500 Received: from dhcp-1-120.tlv.redhat.com (vpn-200-81.tlv.redhat.com [10.35.200.81]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r0V7AwLs016032; Thu, 31 Jan 2013 02:11:06 -0500 From: Orit Wasserman To: qemu-devel@nongnu.org Date: Thu, 31 Jan 2013 09:12:17 +0200 Message-Id: <1359616339-11621-4-git-send-email-owasserm@redhat.com> In-Reply-To: <1359616339-11621-1-git-send-email-owasserm@redhat.com> References: <1359616339-11621-1-git-send-email-owasserm@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: aliguori@us.ibm.com, quintela@redhat.com, lcapitulino@redhat.com, Orit Wasserman , pbonzini@redhat.com Subject: [Qemu-devel] [PATCH v3 3/5] Fix example for query-migrate-capabilities X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Orit Wasserman Reviewed-by: Paolo Bonzini Reviewed-by: Eric Blake --- qmp-commands.hx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index f90efe5..bbb21f3 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -2601,10 +2601,8 @@ Arguments: Example: -> { "execute": "query-migrate-capabilities" } -<- { "return": { - "capabilities" : [ { "capability" : "xbzrle", "state" : false } ] - } - } +<- { "return": [ { "state": false, "capability": "xbzrle" } ] } + EQMP {