summaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-10-31 10:06:23 +0800
committerKevin Wolf <kwolf@redhat.com>2013-10-31 14:44:43 +0100
commitf4c129a38a5430b7342a7a23f53a22831154612f (patch)
tree049cd793590bfa3970668ab80ef99a82acc4a2b0 /qapi-schema.json
parentcbe82d7fb32e5d8e76434671d50853df5f50d560 (diff)
downloadqemu-f4c129a38a5430b7342a7a23f53a22831154612f.tar.gz
qemu-f4c129a38a5430b7342a7a23f53a22831154612f.tar.bz2
qemu-f4c129a38a5430b7342a7a23f53a22831154612f.zip
vmdk: Implment bdrv_get_specific_info
Implement .bdrv_get_specific_info to return the extent information. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json24
1 files changed, 23 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index add97e296d..d607258122 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -225,6 +225,27 @@
} }
##
+# @ImageInfoSpecificVmdk:
+#
+# @create_type: The create type of VMDK image
+#
+# @cid: Content id of image
+#
+# @parent-cid: Parent VMDK image's cid
+#
+# @extents: List of extent files
+#
+# Since: 1.7
+##
+{ 'type': 'ImageInfoSpecificVmdk',
+ 'data': {
+ 'create-type': 'str',
+ 'cid': 'int',
+ 'parent-cid': 'int',
+ 'extents': ['ImageInfo']
+ } }
+
+##
# @ImageInfoSpecific:
#
# A discriminated record of image format specific information structures.
@@ -234,7 +255,8 @@
{ 'union': 'ImageInfoSpecific',
'data': {
- 'qcow2': 'ImageInfoSpecificQCow2'
+ 'qcow2': 'ImageInfoSpecificQCow2',
+ 'vmdk': 'ImageInfoSpecificVmdk'
} }
##