9ae3a8
From db5a450f4c4b6f409573366eea87512ab3043dbe Mon Sep 17 00:00:00 2001
9ae3a8
From: Max Reitz <mreitz@redhat.com>
9ae3a8
Date: Wed, 6 Nov 2013 16:53:42 +0100
9ae3a8
Subject: [PATCH 85/87] qapi: Add optional field 'compressed' to ImageInfo
9ae3a8
9ae3a8
RH-Author: Max Reitz <mreitz@redhat.com>
9ae3a8
Message-id: <1383756824-6921-20-git-send-email-mreitz@redhat.com>
9ae3a8
Patchwork-id: 55574
9ae3a8
O-Subject: [RHEL-7.0 qemu-kvm PATCH v2 19/21] qapi: Add optional field 'compressed' to ImageInfo
9ae3a8
Bugzilla: 980771
9ae3a8
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
9ae3a8
RH-Acked-by: Fam Zheng <famz@redhat.com>
9ae3a8
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
9ae3a8
9ae3a8
From: Fam Zheng <famz@redhat.com>
9ae3a8
9ae3a8
BZ: 980771
9ae3a8
9ae3a8
Signed-off-by: Fam Zheng <famz@redhat.com>
9ae3a8
Reviewed-by: Eric Blake <eblake@redhat.com>
9ae3a8
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
9ae3a8
(cherry picked from commit cbe82d7fb32e5d8e76434671d50853df5f50d560)
9ae3a8
9ae3a8
Signed-off-by: Max Reitz <mreitz@redhat.com>
9ae3a8
---
9ae3a8
 qapi-schema.json | 4 +++-
9ae3a8
 1 file changed, 3 insertions(+), 1 deletion(-)
9ae3a8
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 qapi-schema.json |    4 +++-
9ae3a8
 1 files changed, 3 insertions(+), 1 deletions(-)
9ae3a8
9ae3a8
diff --git a/qapi-schema.json b/qapi-schema.json
9ae3a8
index 3c00ddd..99b05b7 100644
9ae3a8
--- a/qapi-schema.json
9ae3a8
+++ b/qapi-schema.json
9ae3a8
@@ -256,6 +256,8 @@
9ae3a8
 #
9ae3a8
 # @encrypted: #optional true if the image is encrypted
9ae3a8
 #
9ae3a8
+# @compressed: #optional true if the image is compressed (Since 1.7)
9ae3a8
+#
9ae3a8
 # @backing-filename: #optional name of the backing file
9ae3a8
 #
9ae3a8
 # @full-backing-filename: #optional full path of the backing file
9ae3a8
@@ -276,7 +278,7 @@
9ae3a8
 { 'type': 'ImageInfo',
9ae3a8
   'data': {'filename': 'str', 'format': 'str', '*dirty-flag': 'bool',
9ae3a8
            '*actual-size': 'int', 'virtual-size': 'int',
9ae3a8
-           '*cluster-size': 'int', '*encrypted': 'bool',
9ae3a8
+           '*cluster-size': 'int', '*encrypted': 'bool', '*compressed': 'bool',
9ae3a8
            '*backing-filename': 'str', '*full-backing-filename': 'str',
9ae3a8
            '*backing-filename-format': 'str', '*snapshots': ['SnapshotInfo'],
9ae3a8
            '*backing-image': 'ImageInfo',
9ae3a8
-- 
9ae3a8
1.7.1
9ae3a8