From: Markus Armbruster Date: Fri, 19 Feb 2010 17:06:18 +0000 (+0100) Subject: error: New QERR_DEVICE_NO_BUS X-Git-Tag: v0.13.0-rc0~1079^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07574baf7b714a10e35b716b0eb6ede197adfca7;p=thirdparty%2Fqemu.git error: New QERR_DEVICE_NO_BUS --- diff --git a/qerror.c b/qerror.c index c14ec80b817..b176d7c5ac2 100644 --- a/qerror.c +++ b/qerror.c @@ -72,6 +72,10 @@ static const QErrorStringTable qerror_table[] = { .error_fmt = QERR_DEVICE_NOT_REMOVABLE, .desc = "Device '%(device)' is not removable", }, + { + .error_fmt = QERR_DEVICE_NO_BUS, + .desc = "Device '%(device)' has no child bus", + }, { .error_fmt = QERR_FD_NOT_FOUND, .desc = "File descriptor named '%(name)' not found", diff --git a/qerror.h b/qerror.h index 27e69b1f312..baca7ded1a9 100644 --- a/qerror.h +++ b/qerror.h @@ -66,6 +66,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_DEVICE_NOT_REMOVABLE \ "{ 'class': 'DeviceNotRemovable', 'data': { 'device': %s } }" +#define QERR_DEVICE_NO_BUS \ + "{ 'class': 'DeviceNoBus', 'data': { 'device': %s } }" + #define QERR_FD_NOT_FOUND \ "{ 'class': 'FdNotFound', 'data': { 'name': %s } }"