03.05.2014 12:38, Michael Tokarev wrote: [] > --- a/qmp.c > +++ b/qmp.c > @@ -200,7 +200,9 @@ ObjectPropertyInfoList *qmp_qom_list(const char *path, > Error **errp) > > obj = object_resolve_path(path, &ambiguous); > if (obj == NULL) { > - error_set(errp, QERR_DEVICE_NOT_FOUND, path); > + error_set(errp, > + ambiguous ? "Path '%s' is ambiguous" : > QERR_DEVICE_NOT_FOUND, > + path); > return NULL; > }
I've applied this version. Thanks, /mjt