qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] move BlockdevRef definition before using it


From: Amos Kong
Subject: [Qemu-devel] [PATCH] move BlockdevRef definition before using it
Date: Wed, 30 Oct 2013 14:52:45 +0800

From: Amos Kong <address@hidden>

@BlockdevRef is used in @BlockdevOptionsGenericFormat and
@BlockdevOptionsGenericCOWFormat.

Signed-off-by: Amos Kong <address@hidden>
---
 qapi-schema.json | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/qapi-schema.json b/qapi-schema.json
index 60f3fd1..8af8187 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4061,6 +4061,23 @@
             '*rw': 'bool' } }
 
 ##
+# @BlockdevRef
+#
+# Reference to a block device.
+#
+# @definition:      defines a new block device inline
+# @reference:       references the ID of an existing block device. An
+#                   empty string means that no block device should be
+#                   referenced.
+#
+# Since: 1.7
+##
+{ 'union': 'BlockdevRef',
+  'discriminator': {},
+  'data': { 'definition': 'BlockdevOptions',
+            'reference': 'str' } }
+
+##
 # @BlockdevOptionsGenericFormat
 #
 # Driver specific block device options for image format that have no option
@@ -4162,23 +4179,6 @@
   } }
 
 ##
-# @BlockdevRef
-#
-# Reference to a block device.
-#
-# @definition:      defines a new block device inline
-# @reference:       references the ID of an existing block device. An
-#                   empty string means that no block device should be
-#                   referenced.
-#
-# Since: 1.7
-##
-{ 'union': 'BlockdevRef',
-  'discriminator': {},
-  'data': { 'definition': 'BlockdevOptions',
-            'reference': 'str' } }
-
-##
 # @blockdev-add:
 #
 # Creates a new block device.
-- 
1.8.3.1




reply via email to

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