block: Fix blockdev-backup not to use funky error class
commit5b347c541017b9ced10e8e9bce02d25bcf04c7af
authorMarkus Armbruster <armbru@redhat.com>
Tue, 17 Mar 2015 07:36:14 +0000 (17 08:36 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 19 Mar 2015 15:02:59 +0000 (19 16:02 +0100)
tree0fcb4825e960133b9bd83cc39ce5dff9a39c2b00
parent965182549cee6fa337f0e72cde4d5787f35f33ac
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>
blockdev.c
qapi/block-core.json
tests/qemu-iotests/055