aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-04-07 14:46:33 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2010-04-26 11:17:02 -0300
commit7dfb61238a472acf6fb48d9a444564b9b99a4b56 (patch)
tree07cbf240a312527d994075627765f9cf61c4f288 /qerror.h
parenta303f9e37b87ced34e966dc2c0b7f86bc5e74035 (diff)
downloadqemu-7dfb61238a472acf6fb48d9a444564b9b99a4b56.zip
qemu-7dfb61238a472acf6fb48d9a444564b9b99a4b56.tar.gz
qemu-7dfb61238a472acf6fb48d9a444564b9b99a4b56.tar.bz2
QError: New QERR_QMP_BAD_INPUT_OBJECT_MEMBER
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qerror.h b/qerror.h
index bae08c0..c98c61a 100644
--- a/qerror.h
+++ b/qerror.h
@@ -145,6 +145,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_QMP_BAD_INPUT_OBJECT \
"{ 'class': 'QMPBadInputObject', 'data': { 'expected': %s } }"
+#define QERR_QMP_BAD_INPUT_OBJECT_MEMBER \
+ "{ 'class': 'QMPBadInputObjectMember', 'data': { 'member': %s, 'expected': %s } }"
+
#define QERR_SET_PASSWD_FAILED \
"{ 'class': 'SetPasswdFailed', 'data': {} }"