Revision 2fa4e56d qdev-monitor.c
b/qdev-monitor.c | ||
---|---|---|
481 | 481 |
return NULL; |
482 | 482 |
} |
483 | 483 |
|
484 |
if (object_class_is_abstract(oc)) { |
|
485 |
qerror_report(QERR_INVALID_PARAMETER_VALUE, "driver", |
|
486 |
"non-abstract device type"); |
|
487 |
return NULL; |
|
488 |
} |
|
489 |
|
|
484 | 490 |
dc = DEVICE_CLASS(oc); |
485 | 491 |
|
486 | 492 |
/* find bus */ |
Also available in: Unified diff