From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stcvn-00079i-VF for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:05:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Stcvj-0005Tu-2G for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:05:35 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:36778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stcvi-00058R-Tj for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:05:30 -0400 Received: by mail-yw0-f45.google.com with SMTP id p34so6575216yhp.4 for ; Tue, 24 Jul 2012 04:05:30 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 24 Jul 2012 13:03:56 +0200 Message-Id: <1343127865-16608-19-git-send-email-pbonzini@redhat.com> In-Reply-To: <1343127865-16608-1-git-send-email-pbonzini@redhat.com> References: <1343127865-16608-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 18/47] block: live snapshot documentation tweaks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, jcody@redhat.com, eblake@redhat.com, stefanha@linux.vnet.ibm.com Signed-off-by: Paolo Bonzini --- qapi-schema.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 6133d90..fca1806 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1228,7 +1228,7 @@ # @format: #optional the format of the snapshot image, default is 'qcow2'. # # @mode: #optional whether and how QEMU should create a new image, default is -# 'absolute-paths'. +# 'absolute-paths'. ## { 'type': 'BlockdevSnapshot', 'data': { 'device': 'str', 'snapshot-file': 'str', '*format': 'str', @@ -1258,9 +1258,9 @@ # # Returns: nothing on success # If @device is not a valid block device, DeviceNotFound +# If the block device has no medium inserted, DeviceHasNoMedium # If @device is busy, DeviceInUse will be returned -# If @snapshot-file can't be created, OpenFileFailed -# If @snapshot-file can't be opened, OpenFileFailed +# If @snapshot-file can't be created or opened, OpenFileFailed # If @format is invalid, InvalidBlockFormat # # Note: The transaction aborts on the first failure. Therefore, there will @@ -1286,11 +1286,13 @@ # @format: #optional the format of the snapshot image, default is 'qcow2'. # # @mode: #optional whether and how QEMU should create a new image, default is -# 'absolute-paths'. +# 'absolute-paths'. # # Returns: nothing on success # If @device is not a valid block device, DeviceNotFound -# If @snapshot-file can't be opened, OpenFileFailed +# If the block device has no medium inserted, DeviceHasNoMedium +# If @device is busy, DeviceInUse will be returned +# If @snapshot-file can't be created or opened, OpenFileFailed # If @format is invalid, InvalidBlockFormat # # Since 0.14.0 -- 1.7.10.4