qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 69/72] qapi: Extract eject definition into qapi/b


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

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

diff --git a/qapi-schema.json b/qapi-schema.json
index eebb632..b67c883 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1456,25 +1456,6 @@
 { 'command': 'expire_password', 'data': {'protocol': 'str', 'time': 'str'} }
 
 ##
-# @eject:
-#
-# Ejects a device from a removable drive.
-#
-# @device:  The name of the device
-#
-# @force:   @optional If true, eject regardless of whether the drive is locked.
-#           If not specified, the default value is false.
-#
-# Returns:  Nothing on success
-#           If @device is not a valid block device, DeviceNotFound
-#
-# Notes:    Ejecting a device will no media results in success
-#
-# Since: 0.14.0
-##
-{ 'command': 'eject', 'data': {'device': 'str', '*force': 'bool'} }
-
-##
 # @change-vnc-password:
 #
 # Change the VNC server password.
diff --git a/qapi/block.json b/qapi/block.json
index fe4812e..de4b144 100644
--- a/qapi/block.json
+++ b/qapi/block.json
@@ -102,3 +102,22 @@
   'data': { 'device': 'str', '*id': 'str', '*name': 'str'},
   'returns': 'SnapshotInfo' }
 
+##
+# @eject:
+#
+# Ejects a device from a removable drive.
+#
+# @device:  The name of the device
+#
+# @force:   @optional If true, eject regardless of whether the drive is locked.
+#           If not specified, the default value is false.
+#
+# Returns:  Nothing on success
+#           If @device is not a valid block device, DeviceNotFound
+#
+# Notes:    Ejecting a device will no media results in success
+#
+# Since: 0.14.0
+##
+{ 'command': 'eject', 'data': {'device': 'str', '*force': 'bool'} }
+
-- 
1.9.1




reply via email to

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