]> git.proxmox.com Git - qemu.git/commit
qerror: add proper ErrorClass value for QERR_ macros
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 27 Jul 2012 18:50:19 +0000 (15:50 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 13 Aug 2012 16:21:27 +0000 (13:21 -0300)
commit0f32cf6abcea8006fbf1f9c9bc8bc5bedcf6e431
tree6af7d05c82b0ff84c51dee899cae1222712c3b8b
parent13f59ae8157e8ec238fa8aefe5309909a1eeb7e2
qerror: add proper ErrorClass value for QERR_ macros

This commit replaces the place holder value for the ErrorClass
argument with a proper ErrorClass value for all QERR_ macros.

All current errors are mapped to GenericError, except for errors
CommandNotFound, DeviceEncrypted, DeviceNotActive, DeviceNotFound,
KVMMissingCap and MigrationExpected, which are maintained as they
are today.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
qerror.h