Am 19.12.2013 15:30, schrieb arm...@redhat.com:
> From: Markus Armbruster <arm...@redhat.com>
> 
> Once upon a time, the error message was:
> 
>     qemu: -device nonexistant: "Device "nonexistant" not found.  Try -device 
> '?' for a list.
> 
> But progress marches on, and conversion to QError (commit 0204276)
> changed it into:
> 
>     Invalid parameter 'driver'
>     Try with argument '?' for a list.
> 
> Progress didn't stop there, of course.  After a couple of iterations,
> we arrived at the current message (commit 6acbe4c):
> 
>     qemu: -device nonexistant: Parameter 'driver' expects device type
> 
> Mission accomplished: this is complete mush.
> 
> We've since abandoned our quest for "rich" error objects, fortunately
> before it turned all error messages into mush.  Time to undo the
> damage to this one.  Make it:
> 
>     qemu: -device nonexistant: nonexistant is not a valid device model name
> 
> Signed-off-by: Markus Armbruster <arm...@redhat.com>
> ---
>  qdev-monitor.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Thanks, rebased onto your other fix and applied to qom-next:
https://github.com/afaerber/qemu-cpu/commits/qom-next

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Reply via email to