Signed-off-by: Benoit Canet <ben...@irqsave.net> --- 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