Revision 8eae73b5
b/qerror.c | ||
---|---|---|
49 | 49 |
.desc = "Bus '%(bus)' not found", |
50 | 50 |
}, |
51 | 51 |
{ |
52 |
.error_fmt = QERR_BUS_NO_HOTPLUG, |
|
53 |
.desc = "Bus '%(bus)' does not support hotplugging", |
|
54 |
}, |
|
55 |
{ |
|
52 | 56 |
.error_fmt = QERR_COMMAND_NOT_FOUND, |
53 | 57 |
.desc = "The command %(name) has not been found", |
54 | 58 |
}, |
b/qerror.h | ||
---|---|---|
48 | 48 |
#define QERR_BUS_NOT_FOUND \ |
49 | 49 |
"{ 'class': 'BusNotFound', 'data': { 'bus': %s } }" |
50 | 50 |
|
51 |
#define QERR_BUS_NO_HOTPLUG \ |
|
52 |
"{ 'class': 'BusNoHotplug', 'data': { 'bus': %s } }" |
|
53 |
|
|
51 | 54 |
#define QERR_COMMAND_NOT_FOUND \ |
52 | 55 |
"{ 'class': 'CommandNotFound', 'data': { 'name': %s } }" |
53 | 56 |
|
Also available in: Unified diff