From: Markus Armbruster Date: Fri, 19 Feb 2010 18:53:36 +0000 (+0100) Subject: error: New QERR_BUS_NO_HOTPLUG X-Git-Tag: v0.13.0-rc0~1079^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8eae73b5d7085b0f9b087033c328fdbbbcc6271d;p=thirdparty%2Fqemu.git error: New QERR_BUS_NO_HOTPLUG --- diff --git a/qerror.c b/qerror.c index 345bfefe474..d0fc1ae8ba8 100644 --- a/qerror.c +++ b/qerror.c @@ -48,6 +48,10 @@ static const QErrorStringTable qerror_table[] = { .error_fmt = QERR_BUS_NOT_FOUND, .desc = "Bus '%(bus)' not found", }, + { + .error_fmt = QERR_BUS_NO_HOTPLUG, + .desc = "Bus '%(bus)' does not support hotplugging", + }, { .error_fmt = QERR_COMMAND_NOT_FOUND, .desc = "The command %(name) has not been found", diff --git a/qerror.h b/qerror.h index 87fde06f112..6cd2e2de184 100644 --- a/qerror.h +++ b/qerror.h @@ -48,6 +48,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_BUS_NOT_FOUND \ "{ 'class': 'BusNotFound', 'data': { 'bus': %s } }" +#define QERR_BUS_NO_HOTPLUG \ + "{ 'class': 'BusNoHotplug', 'data': { 'bus': %s } }" + #define QERR_COMMAND_NOT_FOUND \ "{ 'class': 'CommandNotFound', 'data': { 'name': %s } }"