]> git.proxmox.com Git - qemu.git/commitdiff
qapi: Add ImageInfoSpecific type
authorMax Reitz <mreitz@redhat.com>
Wed, 9 Oct 2013 08:46:15 +0000 (10:46 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 08:52:54 +0000 (10:52 +0200)
Add a new type ImageInfoSpecific as a union for image format specific
information in ImageInfo.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qapi-schema.json

index 381ffbf932e44fcd639a27058bb745b41b65b73c..246789b37832714b18e1434e259de81bfde1e38c 100644 (file)
             'date-sec': 'int', 'date-nsec': 'int',
             'vm-clock-sec': 'int', 'vm-clock-nsec': 'int' } }
 
+##
+# @ImageInfoSpecific:
+#
+# A discriminated record of image format specific information structures.
+#
+# Since: 1.7
+##
+
+{ 'union': 'ImageInfoSpecific',
+  'data': {
+  } }
+
 ##
 # @ImageInfo:
 #
 #
 # @backing-image: #optional info of the backing image (since 1.6)
 #
+# @format-specific: #optional structure supplying additional format-specific
+# information (since 1.7)
+#
 # Since: 1.3
 #
 ##
            '*cluster-size': 'int', '*encrypted': 'bool',
            '*backing-filename': 'str', '*full-backing-filename': 'str',
            '*backing-filename-format': 'str', '*snapshots': ['SnapshotInfo'],
-           '*backing-image': 'ImageInfo' } }
+           '*backing-image': 'ImageInfo',
+           '*format-specific': 'ImageInfoSpecific' } }
 
 ##
 # @ImageCheck: