diff mbox

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

Message ID 1401537111-10221-24-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 9fe1cbc..a3321bc 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1002,23 +1002,6 @@ 
 { 'command': 'query-pci', 'returns': ['PciInfo'] }
 
 ##
-# @MirrorSyncMode:
-#
-# An enumeration of possible behaviors for the initial synchronization
-# phase of storage mirroring.
-#
-# @top: copies data in the topmost image to the destination
-#
-# @full: copies data from all images to the destination
-#
-# @none: only copy data written from now on
-#
-# Since: 1.3
-##
-{ 'enum': 'MirrorSyncMode',
-  'data': ['top', 'full', 'none'] }
-
-##
 # @BlockJobType:
 #
 # Type of a block job.
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 0f141d7..cb9ab52 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -447,3 +447,20 @@ 
 { 'enum': 'BlockdevOnError',
   'data': ['report', 'ignore', 'enospc', 'stop'] }
 
+##
+# @MirrorSyncMode:
+#
+# An enumeration of possible behaviors for the initial synchronization
+# phase of storage mirroring.
+#
+# @top: copies data in the topmost image to the destination
+#
+# @full: copies data from all images to the destination
+#
+# @none: only copy data written from now on
+#
+# Since: 1.3
+##
+{ 'enum': 'MirrorSyncMode',
+  'data': ['top', 'full', 'none'] }
+