qemu-e2k/backends
Markus Armbruster 75158ebbe2 qerror: Eliminate QERR_DEVICE_NOT_FOUND
Error classes other than ERROR_CLASS_GENERIC_ERROR should not be used
in new code.  Hiding them in QERR_ macros makes new uses hard to spot.
Fortunately, there's just one such macro left.  Eliminate it with this
coccinelle semantic patch:

    @@
    expression EP, E;
    @@
    -error_set(EP, QERR_DEVICE_NOT_FOUND, E)
    +error_set(EP, ERROR_CLASS_DEVICE_NOT_FOUND, "Device '%s' not found", E)

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
2015-06-22 18:20:39 +02:00
..
baum.c qemu-char: Rename register_char_driver_qapi() to register_char_driver() 2014-09-16 23:36:32 +01:00
hostmem-file.c hostmem: Fix mem-path property name in error report 2015-04-30 16:05:48 +03:00
hostmem-ram.c hostmem-ram: don't exit qemu if size of memory-backend-ram is way too big 2014-09-09 13:41:44 +02:00
hostmem.c qom: Don't pass string table to object_get_enum() function 2015-06-19 18:42:48 +02:00
Makefile.objs backends: Introduce chr-testdev 2014-08-06 17:53:05 +02:00
msmouse.c qemu-char: Rename register_char_driver_qapi() to register_char_driver() 2014-09-16 23:36:32 +01:00
rng-egd.c qerror: Eliminate QERR_DEVICE_NOT_FOUND 2015-06-22 18:20:39 +02:00
rng-random.c Drop superfluous conditionals around g_strdup() 2014-12-10 11:30:55 +03:00
rng.c qom: Clean up fragile use of error_is_set() in set() methods 2014-05-05 19:08:49 +02:00
testdev.c qemu-char: Rename register_char_driver_qapi() to register_char_driver() 2014-09-16 23:36:32 +01:00
tpm.c Extend TPM TIS interface to support TPM 2 2015-05-31 20:29:02 +02:00