diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-12-07 21:37:08 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-07 16:34:35 -0600 |
commit | a6906e31a8d025a0dd626ee3c14dd58e7b9ab445 (patch) | |
tree | 3f1110c6f384ec95adbadb40edb08ece18ddc296 | |
parent | 7a84cb23c077488b0e1926b3e909ea128a80dc58 (diff) |
QError: New QERR_VNC_SERVER_FAILED
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | qerror.c | 4 | ||||
-rw-r--r-- | qerror.h | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -100,6 +100,10 @@ static const QErrorStringTable qerror_table[] = { .error_fmt = QERR_UNDEFINED_ERROR, .desc = "An undefined error has ocurred", }, + { + .error_fmt = QERR_VNC_SERVER_FAILED, + .desc = "Could not start VNC server on %(target)", + }, {} }; @@ -83,4 +83,7 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_UNDEFINED_ERROR \ "{ 'class': 'UndefinedError', 'data': {} }" +#define QERR_VNC_SERVER_FAILED \ + "{ 'class': 'VNCServerFailed', 'data': { 'target': %s } }" + #endif /* QERROR_H */ |