Patchwork [18/47] block: live snapshot documentation tweaks

login
register
mail settings
Submitter Paolo Bonzini
Date July 24, 2012, 11:03 a.m.
Message ID <1343127865-16608-19-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/172851/
State New
Headers show

Comments

Paolo Bonzini - July 24, 2012, 11:03 a.m.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 qapi-schema.json |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Patch

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