[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 17/72] qapi: Extract BlockInfo definition into qa
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [PATCH v1 17/72] qapi: Extract BlockInfo definition into qapi/block-core.json |
Date: |
Sat, 31 May 2014 13:50:56 +0200 |
Signed-off-by: Benoit Canet <address@hidden>
---
qapi-schema.json | 36 ------------------------------------
qapi/block-core.json | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 1cb7d2c..ec1bb00 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -664,42 +664,6 @@
{ 'command': 'query-iothreads', 'returns': ['IOThreadInfo'] }
##
-# @BlockInfo:
-#
-# Block device information. This structure describes a virtual device and
-# the backing device associated with it.
-#
-# @device: The device name associated with the virtual device.
-#
-# @type: This field is returned only for compatibility reasons, it should
-# not be used (always returns 'unknown')
-#
-# @removable: True if the device supports removable media.
-#
-# @locked: True if the guest has locked this device from having its media
-# removed
-#
-# @tray_open: #optional True if the device has a tray and it is open
-# (only present if removable is true)
-#
-# @dirty-bitmaps: #optional dirty bitmaps information (only present if the
-# driver has one or more dirty bitmaps) (Since 2.0)
-#
-# @io-status: #optional @BlockDeviceIoStatus. Only present if the device
-# supports it and the VM is configured to stop on errors
-#
-# @inserted: #optional @BlockDeviceInfo describing the device if media is
-# present
-#
-# Since: 0.14.0
-##
-{ 'type': 'BlockInfo',
- 'data': {'device': 'str', 'type': 'str', 'removable': 'bool',
- 'locked': 'bool', '*inserted': 'BlockDeviceInfo',
- '*tray_open': 'bool', '*io-status': 'BlockDeviceIoStatus',
- '*dirty-bitmaps': ['BlockDirtyInfo'] } }
-
-##
# @query-block:
#
# Get a list of BlockInfo for all virtual block devices.
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 9f1995d..24d45f1 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -308,3 +308,39 @@
{ 'type': 'BlockDirtyInfo',
'data': {'count': 'int', 'granularity': 'int'} }
+##
+# @BlockInfo:
+#
+# Block device information. This structure describes a virtual device and
+# the backing device associated with it.
+#
+# @device: The device name associated with the virtual device.
+#
+# @type: This field is returned only for compatibility reasons, it should
+# not be used (always returns 'unknown')
+#
+# @removable: True if the device supports removable media.
+#
+# @locked: True if the guest has locked this device from having its media
+# removed
+#
+# @tray_open: #optional True if the device has a tray and it is open
+# (only present if removable is true)
+#
+# @dirty-bitmaps: #optional dirty bitmaps information (only present if the
+# driver has one or more dirty bitmaps) (Since 2.0)
+#
+# @io-status: #optional @BlockDeviceIoStatus. Only present if the device
+# supports it and the VM is configured to stop on errors
+#
+# @inserted: #optional @BlockDeviceInfo describing the device if media is
+# present
+#
+# Since: 0.14.0
+##
+{ 'type': 'BlockInfo',
+ 'data': {'device': 'str', 'type': 'str', 'removable': 'bool',
+ 'locked': 'bool', '*inserted': 'BlockDeviceInfo',
+ '*tray_open': 'bool', '*io-status': 'BlockDeviceIoStatus',
+ '*dirty-bitmaps': ['BlockDirtyInfo'] } }
+
--
1.9.1
- [Qemu-devel] [PATCH v1 05/72] qapi: Extract query-commands definition into qapi/common.json, (continued)
- [Qemu-devel] [PATCH v1 05/72] qapi: Extract query-commands definition into qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 08/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 15/72] qapi: Extract BlockDeviceMapEntry definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 12/72] qapi: Extract ImageCheck definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 04/72] qapi: Extract CommandInfo definition in qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 09/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 06/72] qapi: create two block related json modules, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 02/72] qapi: Extract VersionInfo definition in qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 07/72] qapi: Extract SnapshotInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 14/72] qapi: Extract BlockDeviceIoStatus definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 17/72] qapi: Extract BlockInfo definition into qapi/block-core.json,
Benoît Canet <=
- [Qemu-devel] [PATCH v1 16/72] qapi: Extract BlockDirtyInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 20/72] qapi: Extract BlockStats definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 19/72] qapi: Extract BlockDeviceStats definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 27/72] qapi: Extract block_passwd definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 22/72] qapi: Extract BlockdevOnError definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 21/72] qapi: Extract query-blockstats definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 23/72] qapi: Extract MirrorSyncMode definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 26/72] qapi: Extract query-block-jobs definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 25/72] qapi: Extract BlockJobInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 24/72] qapi: Extract BlockJobType definition into qapi/block-core.json, Benoît Canet, 2014/05/31