]> Git Repo - qemu.git/commitdiff
QError: New QERR_SET_PASSWD_FAILED
authorMarkus Armbruster <[email protected]>
Mon, 7 Dec 2009 20:37:07 +0000 (21:37 +0100)
committerAnthony Liguori <[email protected]>
Mon, 7 Dec 2009 22:34:34 +0000 (16:34 -0600)
Signed-off-by: Markus Armbruster <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
qerror.c
qerror.h

index 56083c489d2a786961be2cf9cabc37b0fc4eca72..1bb68c417a44a831482317568b61dbb078990760 100644 (file)
--- a/qerror.c
+++ b/qerror.c
@@ -92,6 +92,10 @@ static const QErrorStringTable qerror_table[] = {
         .error_fmt = QERR_QMP_BAD_INPUT_OBJECT,
         .desc      = "Bad QMP input object",
     },
+    {
+        .error_fmt = QERR_SET_PASSWD_FAILED,
+        .desc      = "Could not set password",
+    },
     {
         .error_fmt = QERR_UNDEFINED_ERROR,
         .desc      = "An undefined error has ocurred",
index 681390cf1d579a4f0b8a9353e4e7ae9549674e44..b85689933b2cf6d6e13d90f6a22d6f076369a2d9 100644 (file)
--- a/qerror.h
+++ b/qerror.h
@@ -77,6 +77,9 @@ QError *qobject_to_qerror(const QObject *obj);
 #define QERR_QMP_BAD_INPUT_OBJECT \
     "{ 'class': 'QMPBadInputObject', 'data': { 'expected': %s } }"
 
+#define QERR_SET_PASSWD_FAILED \
+    "{ 'class': 'SetPasswdFailed', 'data': {} }"
+
 #define QERR_UNDEFINED_ERROR \
     "{ 'class': 'UndefinedError', 'data': {} }"
 
This page took 0.026676 seconds and 4 git commands to generate.