From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1ezT-0002kI-8S for qemu-devel@nongnu.org; Wed, 15 Aug 2012 10:54:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1ezR-0004y1-T4 for qemu-devel@nongnu.org; Wed, 15 Aug 2012 10:54:35 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:60276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1ezR-0004xs-MZ for qemu-devel@nongnu.org; Wed, 15 Aug 2012 10:54:33 -0400 Received: by weyz53 with SMTP id z53so1045398wey.4 for ; Wed, 15 Aug 2012 07:54:32 -0700 (PDT) From: "=?UTF-8?q?Beno=C3=AEt=20Canet?=" Date: Wed, 15 Aug 2012 16:54:25 +0200 Message-Id: <1345042466-31743-3-git-send-email-benoit@irqsave.net> In-Reply-To: <1345042466-31743-1-git-send-email-benoit@irqsave.net> References: <1345042466-31743-1-git-send-email-benoit@irqsave.net> Subject: [Qemu-devel] [PATCH 2/3] qapi: Add ImageInfo. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, pbonzini@redhat.com, eblake@redhat.com, xiawenc@linux.vnet.ibm.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= Signed-off-by: Benoit Canet --- 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