aboutsummaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-11-22 16:29:52 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-12-06 11:40:00 -0200
commit588988736634ad2aa356dafac78f88d1ea68b1a4 (patch)
tree29261839203dfc876efa8609e74b2b1805e101a5 /qerror.c
parent25e48c849a64d5ceb71814b4cd08e1341fa2e899 (diff)
downloadqemu-588988736634ad2aa356dafac78f88d1ea68b1a4.zip
qemu-588988736634ad2aa356dafac78f88d1ea68b1a4.tar.gz
qemu-588988736634ad2aa356dafac78f88d1ea68b1a4.tar.bz2
QError: Introduce QERR_IO_ERROR
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qerror.c')
-rw-r--r--qerror.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qerror.c b/qerror.c
index 656efc2..b544ced 100644
--- a/qerror.c
+++ b/qerror.c
@@ -149,6 +149,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "Password incorrect",
},
{
+ .error_fmt = QERR_IO_ERROR,
+ .desc = "An IO error has occurred",
+ },
+ {
.error_fmt = QERR_JSON_PARSING,
.desc = "Invalid JSON syntax",
},