qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 12/25] qapi: Move check for reserved names out of add_name()


From: Eric Blake
Subject: Re: [PATCH 12/25] qapi: Move check for reserved names out of add_name()
Date: Tue, 24 Sep 2019 10:56:27 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 9/24/19 8:28 AM, Markus Armbruster wrote:
> The checks for reserved names are spread far and wide.  Move one from
> add_name() to new check_defn_name_str().  This is a first step towards
> collecting them all in dedicated name checking functions next to
> check_name().
> 
> While there, drop the quotes around the meta-type in
> check_name_str()'s error messages: "'command' uses ... name 'NAME'"
> becomes "command uses ... name 'NAME'".
> 
> Signed-off-by: Markus Armbruster <address@hidden>
> ---

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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