diff mbox

[v1,29/72] qapi: Extract NewImageMode definition into qapi/block-core.json

Message ID 1401537111-10221-30-git-send-email-benoit.canet@irqsave.net
State New
Headers show

Commit Message

BenoƮt Canet May 31, 2014, 11:51 a.m. UTC
Signed-off-by: Benoit Canet <benoit@irqsave.net>
---
 qapi-schema.json     | 17 -----------------
 qapi/block-core.json | 17 +++++++++++++++++
 2 files changed, 17 insertions(+), 17 deletions(-)
diff mbox

Patch

diff --git a/qapi-schema.json b/qapi-schema.json
index 88b12d4..a317aa2 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1201,23 +1201,6 @@ 
 { 'command': 'balloon', 'data': {'value': 'int'} }
 
 ##
-# @NewImageMode
-#
-# An enumeration that tells QEMU how to set the backing file path in
-# a new image file.
-#
-# @existing: QEMU should look for an existing image file.
-#
-# @absolute-paths: QEMU should create a new image with absolute paths
-# for the backing file. If there is no backing file available, the new
-# image will not be backed either.
-#
-# Since: 1.1
-##
-{ 'enum': 'NewImageMode',
-  'data': [ 'existing', 'absolute-paths' ] }
-
-##
 # @BlockdevSnapshot
 #
 # Either @device or @node-name must be set but not both.
diff --git a/qapi/block-core.json b/qapi/block-core.json
index a23c1ef..c5bdfb9 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -582,3 +582,20 @@ 
                                        '*node-name': 'str',
                                        'size': 'int' }}
 
+##
+# @NewImageMode
+#
+# An enumeration that tells QEMU how to set the backing file path in
+# a new image file.
+#
+# @existing: QEMU should look for an existing image file.
+#
+# @absolute-paths: QEMU should create a new image with absolute paths
+# for the backing file. If there is no backing file available, the new
+# image will not be backed either.
+#
+# Since: 1.1
+##
+{ 'enum': 'NewImageMode',
+  'data': [ 'existing', 'absolute-paths' ] }
+