diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-03-17 08:36:14 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-03-19 16:02:59 +0100 |
commit | 5b347c541017b9ced10e8e9bce02d25bcf04c7af (patch) | |
tree | 0fcb4825e960133b9bd83cc39ce5dff9a39c2b00 /qapi | |
parent | 965182549cee6fa337f0e72cde4d5787f35f33ac (diff) | |
download | qemu-5b347c541017b9ced10e8e9bce02d25bcf04c7af.zip |
block: Fix blockdev-backup not to use funky error class
Error classes are a leftover from the days of "rich" error objects.
New code should always use ERROR_CLASS_GENERIC_ERROR. Commit
b7b9d39..7c6a4ab added uses of ERROR_CLASS_DEVICE_NOT_FOUND. Replace
them.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index ac839afb94..f525b04355 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -882,9 +882,6 @@ # # For the arguments, see the documentation of BlockdevBackup. # -# Returns: Nothing on success. -# If @device or @target is not a valid block device, DeviceNotFound. -# # Since 2.3 ## { 'command': 'blockdev-backup', 'data': 'BlockdevBackup' } |