qerror: add qerror_report_err()
commit2a82d936a2bda9cb01d05fc91845e82001b78632
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 2 Sep 2011 17:34:45 +0000 (2 12:34 -0500)
committerLuiz Capitulino <lcapitulino@redhat.com>
Tue, 4 Oct 2011 14:00:46 +0000 (4 11:00 -0300)
tree06618c6cc2a367fd98063a2c822b35efd24b8b19
parentacceb4d99fcdabded6ba432402365adb63205196
qerror: add qerror_report_err()

This provides a bridge between Error (new error mechanism) and QError (old error
mechanism).  Errors can be propagated whereas QError cannot.

The minor evilness avoids layering violations.  Since QError should go away RSN,
it seems like a reasonable hack.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
qerror.c
qerror.h