From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbaa5-0005Rb-NU for qemu-devel@nongnu.org; Fri, 16 Dec 2011 11:24:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbaZz-0008K0-Vt for qemu-devel@nongnu.org; Fri, 16 Dec 2011 11:24:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbaZz-0008Jw-NV for qemu-devel@nongnu.org; Fri, 16 Dec 2011 11:24:15 -0500 Message-ID: <4EEB70AA.1020802@redhat.com> Date: Fri, 16 Dec 2011 17:24:10 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1324036918-2405-1-git-send-email-pbonzini@redhat.com> <1324036918-2405-2-git-send-email-pbonzini@redhat.com> <4EEB4DE2.2060805@codemonkey.ws> <4EEB4F0C.7050702@redhat.com> <4EEB5152.2010405@codemonkey.ws> <4EEB543C.5030104@redhat.com> <4EEB59CE.809@codemonkey.ws> <4EEB5A6D.4080705@redhat.com> <4EEB5C11.5040907@codemonkey.ws> <4EEB5DD4.50302@redhat.com> In-Reply-To: <4EEB5DD4.50302@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/8] qapi: fix NULL pointer dereference List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, qemu-devel@nongnu.org Hi, >> What are the uses of null in qdev string properties? I know you can't >> set a string to null since parse() doesn't have a null syntax. So we're >> really just talking about an uninitialized state, right? > > Yes. No ROM BAR is an example of a NULL string property. Both NULL and zero-length string are valid for "empty" though, so you can use -device e1000,romfile=,mac=whatever to boot without pxe rom. Which underlines anthonys point ;) cheers, Gerd