qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 28/72] qapi: Extract block_resize definition into


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

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

diff --git a/qapi-schema.json b/qapi-schema.json
index 95e30a0..88b12d4 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1201,28 +1201,6 @@
 { 'command': 'balloon', 'data': {'value': 'int'} }
 
 ##
-# @block_resize
-#
-# Resize a block image while a guest is running.
-#
-# Either @device or @node-name must be set but not both.
-#
-# @device: #optional the name of the device to get the image resized
-#
-# @node-name: #optional graph node name to get the image resized (Since 2.0)
-#
-# @size:  new image size in bytes
-#
-# Returns: nothing on success
-#          If @device is not a valid block device, DeviceNotFound
-#
-# Since: 0.14.0
-##
-{ 'command': 'block_resize', 'data': { '*device': 'str',
-                                       '*node-name': 'str',
-                                       'size': 'int' }}
-
-##
 # @NewImageMode
 #
 # An enumeration that tells QEMU how to set the backing file path in
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 0add09a..a23c1ef 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -560,3 +560,25 @@
 { 'command': 'block_passwd', 'data': {'*device': 'str',
                                       '*node-name': 'str', 'password': 'str'} }
 
+##
+# @block_resize
+#
+# Resize a block image while a guest is running.
+#
+# Either @device or @node-name must be set but not both.
+#
+# @device: #optional the name of the device to get the image resized
+#
+# @node-name: #optional graph node name to get the image resized (Since 2.0)
+#
+# @size:  new image size in bytes
+#
+# Returns: nothing on success
+#          If @device is not a valid block device, DeviceNotFound
+#
+# Since: 0.14.0
+##
+{ 'command': 'block_resize', 'data': { '*device': 'str',
+                                       '*node-name': 'str',
+                                       'size': 'int' }}
+
-- 
1.9.1




reply via email to

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