aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-12-07 21:37:06 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-07 16:36:49 -0600
commitc756b1e76287081a2b75ca3dc1ebb5a386a5a106 (patch)
tree00d13fc3d9931f121225081d71349bb8fc35820a /qerror.h
parent06921ec84f16558e8530feb84409950c41948443 (diff)
QError: New QERR_INVALID_BLOCK_FORMAT
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit 17901e75329fff369e26f2464a016e0797789256)
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 2abff1e00b..681390cf1d 100644
--- a/qerror.h
+++ b/qerror.h
@@ -56,6 +56,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_DEVICE_NOT_REMOVABLE \
"{ 'class': 'DeviceNotRemovable', 'data': { 'device': %s } }"
+#define QERR_INVALID_BLOCK_FORMAT \
+ "{ 'class': 'InvalidBlockFormat', 'data': { 'name': %s } }"
+
#define QERR_INVALID_PARAMETER_TYPE \
"{ 'class': 'InvalidParameterType', 'data': { 'name': %s,'expected': %s } }"