|
|
9ae3a8 |
From d9c7fbe85bdeec60e97ba0c484dd9a88c0ba4994 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Max Reitz <mreitz@redhat.com>
|
|
|
9ae3a8 |
Date: Wed, 6 Nov 2013 16:53:34 +0100
|
|
|
9ae3a8 |
Subject: [PATCH 77/87] qapi: Add ImageInfoSpecific type
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Max Reitz <mreitz@redhat.com>
|
|
|
9ae3a8 |
Message-id: <1383756824-6921-12-git-send-email-mreitz@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 55566
|
|
|
9ae3a8 |
O-Subject: [RHEL-7.0 qemu-kvm PATCH v2 11/21] qapi: Add ImageInfoSpecific type
|
|
|
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 |
BZ: 980771
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Add a new type ImageInfoSpecific as a union for image format specific
|
|
|
9ae3a8 |
information in ImageInfo.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Max Reitz <mreitz@redhat.com>
|
|
|
9ae3a8 |
Reviewed-by: Eric Blake <eblake@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
9ae3a8 |
(cherry picked from commit f2bb8a8a47597634b74c161c44b9980c7f4e50ac)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Max Reitz <mreitz@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
qapi-schema.json | 18 +++++++++++++++++-
|
|
|
9ae3a8 |
1 file changed, 17 insertions(+), 1 deletion(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
qapi-schema.json | 18 +++++++++++++++++-
|
|
|
9ae3a8 |
1 files changed, 17 insertions(+), 1 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/qapi-schema.json b/qapi-schema.json
|
|
|
9ae3a8 |
index 4091b99..934ac7f 100644
|
|
|
9ae3a8 |
--- a/qapi-schema.json
|
|
|
9ae3a8 |
+++ b/qapi-schema.json
|
|
|
9ae3a8 |
@@ -210,6 +210,18 @@
|
|
|
9ae3a8 |
'vm-clock-sec': 'int', 'vm-clock-nsec': 'int' } }
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
##
|
|
|
9ae3a8 |
+# @ImageInfoSpecific:
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
+# A discriminated record of image format specific information structures.
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
+# Since: 1.7
|
|
|
9ae3a8 |
+##
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+{ 'union': 'ImageInfoSpecific',
|
|
|
9ae3a8 |
+ 'data': {
|
|
|
9ae3a8 |
+ } }
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+##
|
|
|
9ae3a8 |
# @ImageInfo:
|
|
|
9ae3a8 |
#
|
|
|
9ae3a8 |
# Information about a QEMU image file
|
|
|
9ae3a8 |
@@ -238,6 +250,9 @@
|
|
|
9ae3a8 |
#
|
|
|
9ae3a8 |
# @backing-image: #optional info of the backing image (since 1.6)
|
|
|
9ae3a8 |
#
|
|
|
9ae3a8 |
+# @format-specific: #optional structure supplying additional format-specific
|
|
|
9ae3a8 |
+# information (since 1.7)
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
# Since: 1.3
|
|
|
9ae3a8 |
#
|
|
|
9ae3a8 |
##
|
|
|
9ae3a8 |
@@ -248,7 +263,8 @@
|
|
|
9ae3a8 |
'*cluster-size': 'int', '*encrypted': 'bool',
|
|
|
9ae3a8 |
'*backing-filename': 'str', '*full-backing-filename': 'str',
|
|
|
9ae3a8 |
'*backing-filename-format': 'str', '*snapshots': ['SnapshotInfo'],
|
|
|
9ae3a8 |
- '*backing-image': 'ImageInfo' } }
|
|
|
9ae3a8 |
+ '*backing-image': 'ImageInfo',
|
|
|
9ae3a8 |
+ '*format-specific': 'ImageInfoSpecific' } }
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
##
|
|
|
9ae3a8 |
# @ImageCheck:
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.7.1
|
|
|
9ae3a8 |
|