qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 67/72] qapi: Extract blockdev-snapshot-internal-s


From: Benoît Canet
Subject: [Qemu-devel] [PATCH v1 67/72] qapi: Extract blockdev-snapshot-internal-sync definition into qapi/block.json
Date: Sat, 31 May 2014 13:51:46 +0200

Signed-off-by: Benoit Canet <address@hidden>
---
 qapi-schema.json | 20 --------------------
 qapi/block.json  | 20 ++++++++++++++++++++
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/qapi-schema.json b/qapi-schema.json
index eee4508..8a6e192 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1213,26 +1213,6 @@
   'data': { 'actions': [ 'TransactionAction' ] } }
 
 ##
-# @blockdev-snapshot-internal-sync
-#
-# Synchronously take an internal snapshot of a block device, when the format
-# of the image used supports it.
-#
-# For the arguments, see the documentation of BlockdevSnapshotInternal.
-#
-# Returns: nothing on success
-#          If @device is not a valid block device, DeviceNotFound
-#          If any snapshot matching @name exists, or @name is empty,
-#          GenericError
-#          If the format of the image used does not support it,
-#          BlockFormatFeatureNotSupported
-#
-# Since 1.7
-##
-{ 'command': 'blockdev-snapshot-internal-sync',
-  'data': 'BlockdevSnapshotInternal' }
-
-##
 # @blockdev-snapshot-delete-internal-sync
 #
 # Synchronously delete an internal snapshot of a block device, when the format
diff --git a/qapi/block.json b/qapi/block.json
index ae4c0ad..830751c 100644
--- a/qapi/block.json
+++ b/qapi/block.json
@@ -55,3 +55,23 @@
 { 'type': 'BlockdevSnapshotInternal',
   'data': { 'device': 'str', 'name': 'str' } }
 
+##
+# @blockdev-snapshot-internal-sync
+#
+# Synchronously take an internal snapshot of a block device, when the format
+# of the image used supports it.
+#
+# For the arguments, see the documentation of BlockdevSnapshotInternal.
+#
+# Returns: nothing on success
+#          If @device is not a valid block device, DeviceNotFound
+#          If any snapshot matching @name exists, or @name is empty,
+#          GenericError
+#          If the format of the image used does not support it,
+#          BlockFormatFeatureNotSupported
+#
+# Since 1.7
+##
+{ 'command': 'blockdev-snapshot-internal-sync',
+  'data': 'BlockdevSnapshotInternal' }
+
-- 
1.9.1




reply via email to

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