From: Ian Jackson Subject: Re: xl create PV guest with qcow/qcow2 disk images fail Date: Wed, 2 Nov 2011 16:45:51 +0000 Message-ID: <20145.29631.51700.316092@mariner.uk.xensource.com> References: <1319808450-9617-1-git-send-email-cyliu@suse.com> <4EB184DE020000660000603E@novprvlin0050.provo.novell.com> <1320238770.3084.51.camel@cthulhu.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1320238770.3084.51.camel@cthulhu.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Chun Yan Liu , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel]xl create PV guest with qcow/qcow2 disk images fail"): > On Wed, 2011-11-02 at 02:58 -0400, Chun Yan Liu wrote: > > + pid = fork(); > > This needs to be libxl_fork, I think. Perhaps even this whole thing > should be libxl__spawn_spawn (not sure about that)? libxl__spawn_spawn is for processes which are going to survive past the lifetime of the call to libxl. I think that for bootloaders this is going to be the case when we do event handling, so probably that's correct. NB that you want the version from staging as that has important changes from Olaf regarding subprocesses. Ian.