aboutsummaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-11-18 23:05:34 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:21 -0600
commit055f6122a6b6886348154bb8bef8dd022501c705 (patch)
treed2892e978a7c649fbcc07f2460696cd32e94c0b1 /qerror.c
parent3ced9f7a36189aed94d8bf86f3f5087a53012455 (diff)
QError: Add QERR_DEVICE_NOT_ACTIVE
New class for device not active errors. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.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 a12e7f7b1b..0c0a5100aa 100644
--- a/qerror.c
+++ b/qerror.c
@@ -44,6 +44,10 @@ const QErrorStringTable qerror_table[] = {
.error_fmt = QERR_DEVICE_NOT_FOUND,
.desc = "The %(device) device has not been found",
},
+ {
+ .error_fmt = QERR_DEVICE_NOT_ACTIVE,
+ .desc = "The %(device) device has not been activated by the guest",
+ },
{}
};