From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUY8F-0005fB-VT for qemu-devel@nongnu.org; Fri, 11 Oct 2013 04:31:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUY88-0005ab-Q6 for qemu-devel@nongnu.org; Fri, 11 Oct 2013 04:31:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUY88-0005aX-Ia for qemu-devel@nongnu.org; Fri, 11 Oct 2013 04:31:28 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9B8VR2b010791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 11 Oct 2013 04:31:28 -0400 From: Fam Zheng Date: Fri, 11 Oct 2013 16:31:20 +0800 Message-Id: <1381480281-14607-2-git-send-email-famz@redhat.com> In-Reply-To: <1381480281-14607-1-git-send-email-famz@redhat.com> References: <1381480281-14607-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 1/2] qapi: Add optional field 'compressed' to ImageInfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com Signed-off-by: Fam Zheng --- qapi-schema.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qapi-schema.json b/qapi-schema.json index a1a81a4..b187fdb 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -256,6 +256,8 @@ # # @encrypted: #optional true if the image is encrypted # +# @compressed: #optional true if the image is compressed (Since 1.7) +# # @backing-filename: #optional name of the backing file # # @full-backing-filename: #optional full path of the backing file @@ -276,7 +278,7 @@ { 'type': 'ImageInfo', 'data': {'filename': 'str', 'format': 'str', '*dirty-flag': 'bool', '*actual-size': 'int', 'virtual-size': 'int', - '*cluster-size': 'int', '*encrypted': 'bool', + '*cluster-size': 'int', '*encrypted': 'bool', '*compressed': 'bool', '*backing-filename': 'str', '*full-backing-filename': 'str', '*backing-filename-format': 'str', '*snapshots': ['SnapshotInfo'], '*backing-image': 'ImageInfo', -- 1.8.3.1