[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 22/72] qapi: Extract BlockdevOnError definition i
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [PATCH v1 22/72] qapi: Extract BlockdevOnError definition into qapi/block-core.json |
Date: |
Sat, 31 May 2014 13:51:01 +0200 |
Signed-off-by: Benoit Canet <address@hidden>
---
qapi-schema.json | 23 -----------------------
qapi/block-core.json | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 25c594a..9fe1cbc 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1002,29 +1002,6 @@
{ 'command': 'query-pci', 'returns': ['PciInfo'] }
##
-# @BlockdevOnError:
-#
-# An enumeration of possible behaviors for errors on I/O operations.
-# The exact meaning depends on whether the I/O was initiated by a guest
-# or by a block job
-#
-# @report: for guest operations, report the error to the guest;
-# for jobs, cancel the job
-#
-# @ignore: ignore the error, only report a QMP event (BLOCK_IO_ERROR
-# or BLOCK_JOB_ERROR)
-#
-# @enospc: same as @stop on ENOSPC, same as @report otherwise.
-#
-# @stop: for guest operations, stop the virtual machine;
-# for jobs, pause the job
-#
-# Since: 1.3
-##
-{ 'enum': 'BlockdevOnError',
- 'data': ['report', 'ignore', 'enospc', 'stop'] }
-
-##
# @MirrorSyncMode:
#
# An enumeration of possible behaviors for the initial synchronization
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 282154b..0f141d7 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -424,3 +424,26 @@
##
{ 'command': 'query-blockstats', 'returns': ['BlockStats'] }
+##
+# @BlockdevOnError:
+#
+# An enumeration of possible behaviors for errors on I/O operations.
+# The exact meaning depends on whether the I/O was initiated by a guest
+# or by a block job
+#
+# @report: for guest operations, report the error to the guest;
+# for jobs, cancel the job
+#
+# @ignore: ignore the error, only report a QMP event (BLOCK_IO_ERROR
+# or BLOCK_JOB_ERROR)
+#
+# @enospc: same as @stop on ENOSPC, same as @report otherwise.
+#
+# @stop: for guest operations, stop the virtual machine;
+# for jobs, pause the job
+#
+# Since: 1.3
+##
+{ 'enum': 'BlockdevOnError',
+ 'data': ['report', 'ignore', 'enospc', 'stop'] }
+
--
1.9.1
- [Qemu-devel] [PATCH v1 09/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json, (continued)
- [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, 2014/05/31
- [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 <=
- [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
- [Qemu-devel] [PATCH v1 18/72] qapi: Extract query-block definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 28/72] qapi: Extract block_resize definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 30/72] qapi: Extract BlockdevSnapshot definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 29/72] qapi: Extract NewImageMode definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 32/72] qapi: Extract blockdev-snapshot-sync into qapi/block-core.json, Benoît Canet, 2014/05/31