From: Markus Armbruster Date: Fri, 19 Feb 2010 17:05:59 +0000 (+0100) Subject: error: New QERR_DEVICE_MULTIPLE_BUSSES X-Git-Tag: v0.13.0-rc0~1079^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ae787184025b7e890a666e0041024a3d92529ce;p=thirdparty%2Fqemu.git error: New QERR_DEVICE_MULTIPLE_BUSSES --- diff --git a/qerror.c b/qerror.c index 75f7b58465e..c14ec80b817 100644 --- a/qerror.c +++ b/qerror.c @@ -56,6 +56,10 @@ static const QErrorStringTable qerror_table[] = { .error_fmt = QERR_DEVICE_LOCKED, .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", diff --git a/qerror.h b/qerror.h index 84928080fc7..27e69b1f312 100644 --- a/qerror.h +++ b/qerror.h @@ -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 } }"