cryptospore / rpms / qemu-kvm

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