From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVYN-00027S-8Y for qemu-devel@nongnu.org; Fri, 26 Sep 2014 09:27:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXVYG-0005r5-1w for qemu-devel@nongnu.org; Fri, 26 Sep 2014 09:27:16 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:63557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVYF-0005h5-Pp for qemu-devel@nongnu.org; Fri, 26 Sep 2014 09:27:11 -0400 Received: by mail-wi0-f175.google.com with SMTP id r20so10926298wiv.2 for ; Fri, 26 Sep 2014 06:27:05 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <542569A5.2030909@redhat.com> Date: Fri, 26 Sep 2014 15:27:01 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <082b20c6ae4ab03961beb8a174c4ea7055a98518.1411703316.git.peter.crosthwaite@xilinx.com> In-Reply-To: <082b20c6ae4ab03961beb8a174c4ea7055a98518.1411703316.git.peter.crosthwaite@xilinx.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH qom v3 04/14] qmp: qstring: Handle NULL strings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, agraf@suse.de, afaerber@suse.de 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 > Signed-off-by: Peter Crosthwaite > --- This shouldn't be necessary if you use "". Paolo