qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] qapi: Improve input_type_enum()'s error message


From: Markus Armbruster
Subject: Re: [PATCH v2] qapi: Improve input_type_enum()'s error message
Date: Tue, 26 Oct 2021 12:34:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Markus Armbruster <armbru@redhat.com> writes:

> The error message claims the parameter is invalid:
>
>     $ qemu-system-x86_64 -object qom-type=nonexistent
>     qemu-system-x86_64: -object qom-type=nonexistent: Invalid parameter 
> 'nonexistent'
>
> What's wrong is actually the *value* 'nonexistent'.  Improve the
> message to
>
>     qemu-system-x86_64: -object qom-type=nonexistent: Parameter 'qom-type' 
> does not accept value 'nonexistent'
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Queued.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]