projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a84cb2
)
QError: New QERR_VNC_SERVER_FAILED
author
Markus Armbruster
<armbru@redhat.com>
Mon, 7 Dec 2009 20:37:08 +0000
(21:37 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 7 Dec 2009 22:34:35 +0000
(16:34 -0600)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qerror.c
patch
|
blob
|
history
qerror.h
patch
|
blob
|
history
diff --git
a/qerror.c
b/qerror.c
index
1bb68c4
..
128a91e
100644
(file)
--- a/
qerror.c
+++ b/
qerror.c
@@
-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)",
+ },
{}
};
diff --git
a/qerror.h
b/qerror.h
index
b856899
..
1a05d9a
100644
(file)
--- a/
qerror.h
+++ b/
qerror.h
@@
-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 */