qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH qom v3 04/14] qmp: qstring: Handle NULL strings


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH qom v3 04/14] qmp: qstring: Handle NULL strings
Date: Fri, 26 Sep 2014 15:27:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

Il 26/09/2014 07:18, Peter Crosthwaite ha scritto:
> Create a valid qobject even if the input string is null.
> qstring->string will be NULL and length will be 0.
> 
> This prepares support for clearing of QOM Link properties
> where NULL canonical path string will be passes through
> this API.
> 
> Reviewed-by: Alexander Graf <address@hidden>
> Signed-off-by: Peter Crosthwaite <address@hidden>
> ---

This shouldn't be necessary if you use "".

Paolo




reply via email to

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