qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/3] qapi: Add ImageInfo.


From: Benoît Canet
Subject: [Qemu-devel] [PATCH 2/3] qapi: Add ImageInfo.
Date: Wed, 15 Aug 2012 16:54:25 +0200

Signed-off-by: Benoit Canet <address@hidden>
---
 qapi-schema.json |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/qapi-schema.json b/qapi-schema.json
index 8d4df19..488da90 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -150,6 +150,39 @@
             'vm-clock-sec': 'int' } }
 
 ##
+# @ImageInfo:
+#
+# Information about a QEMU image file
+#
+# @filename: name of the image file
+#
+# @format: format of the image file
+#
+# @dirty-flag: true if image is not cleanly closed
+#
+# @cluster-size: size of a cluster in bytes
+#
+# @encrypted: true if the image is encrypted
+#
+# @actual-size: actual size on disk in bytes of the image
+#
+# @virtual-size: maximum capacity in bytes of the image
+#
+# @backing-filename: name of the backing file
+#
+# @snapshots: list of VM snapshots
+#
+# Since: 1.3
+#
+##
+
+{ 'type': 'ImageInfo',
+  'data': {'filename': 'str', 'format': 'str', 'dirty-flag': 'bool',
+           'cluster-size': 'int', 'encrypted': 'bool',
+           'actual-size': 'int', 'virtual-size': 'int',
+           'backing-filename': 'str', 'snapshots': ['SnapshotInfo'] } }
+
+##
 # @StatusInfo:
 #
 # Information about VCPU run state
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]