aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-19 13:17:58 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 17:01:08 +0100
commit06b4a703e0e87034a8b122f6ffc50c732e7ceddd (patch)
treea23bab8746d95fe256d18e152cb636bc624b0406 /qerror.h
parentc58a35f8e32af621fab2b4f9c868f47971f67e59 (diff)
downloadqemu-06b4a703e0e87034a8b122f6ffc50c732e7ceddd.zip
qemu-06b4a703e0e87034a8b122f6ffc50c732e7ceddd.tar.gz
qemu-06b4a703e0e87034a8b122f6ffc50c732e7ceddd.tar.bz2
error: New QERR_PROPERTY_VALUE_BAD
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 e36336e..d5f0e9d 100644
--- a/qerror.h
+++ b/qerror.h
@@ -93,6 +93,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_PROPERTY_NOT_FOUND \
"{ 'class': 'PropertyNotFound', 'data': { 'device': %s, 'property': %s } }"
+#define QERR_PROPERTY_VALUE_BAD \
+ "{ 'class': 'PropertyValueBad', 'data': { 'device': %s, 'property': %s, 'value': %s } }"
+
#define QERR_QMP_BAD_INPUT_OBJECT \
"{ 'class': 'QMPBadInputObject', 'data': { 'expected': %s } }"