Revision 3801cf8a
b/hw/qdev.c | ||
---|---|---|
29 | 29 |
#include "qdev.h" |
30 | 30 |
#include "sysemu.h" |
31 | 31 |
#include "monitor.h" |
32 |
#include "qerror.h" |
|
33 | 32 |
|
34 | 33 |
static int qdev_hotplug = 0; |
35 | 34 |
|
... | ... | |
208 | 207 |
/* find driver */ |
209 | 208 |
info = qdev_find_info(NULL, driver); |
210 | 209 |
if (!info || info->no_user) { |
211 |
qerror_report(QERR_DEVICE_NOT_FOUND, driver); |
|
210 |
error_report("Device \"%s\" not found. Try -device '?' for a list.", |
|
211 |
driver); |
|
212 | 212 |
return NULL; |
213 | 213 |
} |
214 | 214 |
|
Also available in: Unified diff