aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-19 19:52:45 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 17:45:34 +0100
commit56e9f56309b7c77dfb328dbf450d04fd54ce4542 (patch)
tree69b5d05420032bf39e2ee9dde4bb04d51111dc48 /qerror.h
parentaa924ae7306f18f258c48f070c0d06215f157d0f (diff)
downloadqemu-56e9f56309b7c77dfb328dbf450d04fd54ce4542.zip
qemu-56e9f56309b7c77dfb328dbf450d04fd54ce4542.tar.gz
qemu-56e9f56309b7c77dfb328dbf450d04fd54ce4542.tar.bz2
error: New QERR_BAD_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 baca7de..87fde06 100644
--- a/qerror.h
+++ b/qerror.h
@@ -42,6 +42,9 @@ QError *qobject_to_qerror(const QObject *obj);
/*
* QError class list
*/
+#define QERR_BAD_BUS_FOR_DEVICE \
+ "{ 'class': 'BadBusForDevice', 'data': { 'device': %s, 'bad_bus_type': %s } }"
+
#define QERR_BUS_NOT_FOUND \
"{ 'class': 'BusNotFound', 'data': { 'bus': %s } }"