diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-02-19 18:05:59 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2010-03-16 17:45:34 +0100 |
commit | 1ae787184025b7e890a666e0041024a3d92529ce (patch) | |
tree | 5a401f07ff1067a60b652cafaabf24fa7992f365 | |
parent | 7bbd823701cf4447b5c23430f1ad78ce501793b4 (diff) |
error: New QERR_DEVICE_MULTIPLE_BUSSES
-rw-r--r-- | qerror.c | 4 | ||||
-rw-r--r-- | qerror.h | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -57,6 +57,10 @@ static const QErrorStringTable qerror_table[] = { .desc = "Device '%(device)' is locked", }, { + .error_fmt = QERR_DEVICE_MULTIPLE_BUSSES, + .desc = "Device '%(device)' has multiple child busses", + }, + { .error_fmt = QERR_DEVICE_NOT_ACTIVE, .desc = "Device '%(device)' has not been activated by the guest", }, @@ -54,6 +54,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_DEVICE_LOCKED \ "{ 'class': 'DeviceLocked', 'data': { 'device': %s } }" +#define QERR_DEVICE_MULTIPLE_BUSSES \ + "{ 'class': 'DeviceMultipleBusses', 'data': { 'device': %s } }" + #define QERR_DEVICE_NOT_ACTIVE \ "{ 'class': 'DeviceNotActive', 'data': { 'device': %s } }" |