aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-19 19:54:06 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 17:45:34 +0100
commitfab5767f90c96194f918d39af683fff3d9ea421a (patch)
tree14bedf88b3aa6aa84dc110149056d82eed0c4fce /qerror.h
parent4d9a1a15214c01dcbff2d7c02cef027e80442d79 (diff)
downloadqemu-fab5767f90c96194f918d39af683fff3d9ea421a.zip
qemu-fab5767f90c96194f918d39af683fff3d9ea421a.tar.gz
qemu-fab5767f90c96194f918d39af683fff3d9ea421a.tar.bz2
error: New QERR_NO_BUS_FOR_DEVICE
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 10a37f3..88b297a 100644
--- a/qerror.h
+++ b/qerror.h
@@ -105,6 +105,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_MISSING_PARAMETER \
"{ 'class': 'MissingParameter', 'data': { 'name': %s } }"
+#define QERR_NO_BUS_FOR_DEVICE \
+ "{ 'class': 'NoBusForDevice', 'data': { 'device': %s, 'bus': %s } }"
+
#define QERR_OPEN_FILE_FAILED \
"{ 'class': 'OpenFileFailed', 'data': { 'filename': %s } }"