[Qemu-devel] [PATCH] qapi: block: Remove mentions of error types which were removed

Peter Krempa posted 1 patch 7 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/be0db6859accf4df30f594b7bd52f1f0500e977b.1534328682.git.pkrempa@redhat.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test docker-quick@centos7 passed
qapi/block-core.json | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
[Qemu-devel] [PATCH] qapi: block: Remove mentions of error types which were removed
Posted by Peter Krempa 7 years, 2 months ago
Most of the various error classes were removed prior to the 1.2 release.
Remove mentions of the error classes which did not make it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 qapi/block-core.json | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/qapi/block-core.json b/qapi/block-core.json
index 5b9084a394..c5407f801a 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1499,11 +1499,8 @@
 #                    autogenerated. (Since: 2.9)
 #
 # Returns: Nothing on success
-#          If commit or stream is already active on this device, DeviceInUse
 #          If @device does not exist, DeviceNotFound
-#          If image commit is not supported by this device, NotSupported
-#          If @base or @top is invalid, a generic error is returned
-#          If @speed is invalid, InvalidParameter
+#          Any other error returns a GenericError.
 #
 # Since: 1.3
 #
-- 
2.17.1


Re: [Qemu-devel] [Qemu-block] [PATCH] qapi: block: Remove mentions of error types which were removed
Posted by Kevin Wolf 7 years, 2 months ago
Am 15.08.2018 um 12:26 hat Peter Krempa geschrieben:
> Most of the various error classes were removed prior to the 1.2 release.
> Remove mentions of the error classes which did not make it.
> 
> Signed-off-by: Peter Krempa <pkrempa@redhat.com>

Thanks, applied to the block branch.

Kevin