qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 30/72] qapi: Extract BlockdevSnapshot definition


From: Benoît Canet
Subject: [Qemu-devel] [PATCH v1 30/72] qapi: Extract BlockdevSnapshot definition into qapi/block-core.json
Date: Sat, 31 May 2014 13:51:09 +0200

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

diff --git a/qapi-schema.json b/qapi-schema.json
index a317aa2..6cd9fde 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1201,29 +1201,6 @@
 { 'command': 'balloon', 'data': {'value': 'int'} }
 
 ##
-# @BlockdevSnapshot
-#
-# Either @device or @node-name must be set but not both.
-#
-# @device: #optional the name of the device to generate the snapshot from.
-#
-# @node-name: #optional graph node name to generate the snapshot from (Since 
2.0)
-#
-# @snapshot-file: the target of the new image. A new file will be created.
-#
-# @snapshot-node-name: #optional the graph node name of the new image (Since 
2.0)
-#
-# @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'.
-##
-{ 'type': 'BlockdevSnapshot',
-  'data': { '*device': 'str', '*node-name': 'str',
-            'snapshot-file': 'str', '*snapshot-node-name': 'str',
-            '*format': 'str', '*mode': 'NewImageMode' } }
-
-##
 # @BlockdevSnapshotInternal
 #
 # @device: the name of the device to generate the snapshot from
diff --git a/qapi/block-core.json b/qapi/block-core.json
index c5bdfb9..bf546f7 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -599,3 +599,26 @@
 { 'enum': 'NewImageMode',
   'data': [ 'existing', 'absolute-paths' ] }
 
+##
+# @BlockdevSnapshot
+#
+# Either @device or @node-name must be set but not both.
+#
+# @device: #optional the name of the device to generate the snapshot from.
+#
+# @node-name: #optional graph node name to generate the snapshot from (Since 
2.0)
+#
+# @snapshot-file: the target of the new image. A new file will be created.
+#
+# @snapshot-node-name: #optional the graph node name of the new image (Since 
2.0)
+#
+# @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'.
+##
+{ 'type': 'BlockdevSnapshot',
+  'data': { '*device': 'str', '*node-name': 'str',
+            'snapshot-file': 'str', '*snapshot-node-name': 'str',
+            '*format': 'str', '*mode': 'NewImageMode' } }
+
-- 
1.9.1




reply via email to

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