qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH RFC v2 28/47] qapi-commands: Convert to QAPISche


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH RFC v2 28/47] qapi-commands: Convert to QAPISchemaVisitor
Date: Wed, 22 Jul 2015 17:05:57 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 07/01/2015 02:22 PM, Markus Armbruster wrote:
> Output unchanged except for white-space.

Indeed, and the diffstat shows it was only one blank line:

 qga-qmp-marshal.c |    1 +
 1 file changed, 1 insertion(+)

MUCH friendlier to review :)

> 
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
>  scripts/qapi-commands.py | 157 
> ++++++++++++++++++++++++++---------------------
>  scripts/qapi.py          |   2 +-
>  2 files changed, 87 insertions(+), 72 deletions(-)
> 

Here, I can confidently say:

Reviewed-by: Eric Blake <address@hidden>

> +++ b/scripts/qapi.py
> @@ -1366,7 +1366,7 @@ def c_type(value, is_param=False):
>          return c_name(value) + pointer_suffix
>  
>  def is_c_ptr(value):
> -    return c_type(value).endswith(pointer_suffix)
> +    return value.endswith(pointer_suffix)

Perhaps this cleanup could be floated earlier in the series?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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