aboutsummaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-12-04 15:24:08 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-07 14:04:19 -0600
commitf6d855c50dfd68f33f6dee70e5ccdfb144a2da26 (patch)
tree38a232c43234e1d1acabdf640cf32acc7f64f077 /qerror.c
parent6d9fef1a02e6efd51e9ebd0130651ca61f75839b (diff)
downloadqemu-f6d855c50dfd68f33f6dee70e5ccdfb144a2da26.zip
qemu-f6d855c50dfd68f33f6dee70e5ccdfb144a2da26.tar.gz
qemu-f6d855c50dfd68f33f6dee70e5ccdfb144a2da26.tar.bz2
QError: Add class for invalid passwords
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 d00e534..eb4ce33 100644
--- a/qerror.c
+++ b/qerror.c
@@ -57,6 +57,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "Invalid parameter type, expected: %(expected)",
},
{
+ .error_fmt = QERR_INVALID_PASSWORD,
+ .desc = "The entered password is invalid",
+ },
+ {
.error_fmt = QERR_KVM_MISSING_CAP,
.desc = "Using KVM without %(capability), %(feature) unavailable",
},