summaryrefslogtreecommitdiffstats
path: root/qerror.c
diff options
context:
space:
mode:
authorLuiz Capitulino2009-12-04 18:24:08 +0100
committerAnthony Liguori2009-12-07 21:04:19 +0100
commitf6d855c50dfd68f33f6dee70e5ccdfb144a2da26 (patch)
tree38a232c43234e1d1acabdf640cf32acc7f64f077 /qerror.c
parentcpuid: Fix multicore setup on Intel (diff)
downloadqemu-f6d855c50dfd68f33f6dee70e5ccdfb144a2da26.tar.gz
qemu-f6d855c50dfd68f33f6dee70e5ccdfb144a2da26.tar.xz
qemu-f6d855c50dfd68f33f6dee70e5ccdfb144a2da26.zip
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 d00e5347e1..eb4ce33312 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",
},