Revision de580daf qmp.c
b/qmp.c | ||
---|---|---|
556 | 556 |
} |
557 | 557 |
|
558 | 558 |
if (!object_dynamic_cast(obj, TYPE_USER_CREATABLE)) { |
559 |
error_setg(&local_err, "object '%s' isn't supported by object-add", |
|
560 |
id);
|
|
559 |
error_setg(&local_err, "object type '%s' isn't supported by object-add",
|
|
560 |
type);
|
|
561 | 561 |
goto out; |
562 | 562 |
} |
563 | 563 |
|
Also available in: Unified diff