Home
last modified time | relevance | path

Searched hist:"6 ec46ad5" (Results 1 – 2 of 2) sorted by relevance

/qemu/block/
H A Dwrite-threshold.c6ec46ad5 Fri Mar 13 17:51:38 GMT 2015 Markus Armbruster <armbru@redhat.com> block: Fix block-set-write-threshold 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 e246211
added a use of ERROR_CLASS_DEVICE_NOT_FOUND. Replace it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/qemu/qapi/
H A Dblock-core.json6ec46ad5 Fri Mar 13 17:51:38 GMT 2015 Markus Armbruster <armbru@redhat.com> block: Fix block-set-write-threshold 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 e246211
added a use of ERROR_CLASS_DEVICE_NOT_FOUND. Replace it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>