WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel]xl create PV guest with qcow/qcow2 disk images fail

To: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel]xl create PV guest with qcow/qcow2 disk images fail
From: David Vrabel <dvrabel@xxxxxxxxxx>
Date: Fri, 04 Nov 2011 11:45:31 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Chunyan Liu <cyliu@xxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Delivery-date: Fri, 04 Nov 2011 04:46:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=dBYL0ysyV9jKvMp3lVkEIfr/xEWss0wCRjm5a8flJro=; b=t9xhOzq3dgtfwSsT8a+8qOLZs7r1jmvMyv+bGxjGaTs7hz0ijJ0VexvQM2zKwMBPHW ujpPhkhD+ePaO9JmGyO9jiPpkdSfzY0tVK18AF5eLL8yxfBEa1BdJNAWFGnAEIgrsn2v B/Ie6AmuZp0nMBCtGGRHtT4OBubQWx+OEfBE8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAPLaKK7Eh3_DzLTVmnk6f6Cw7bDVBxkm7_-=cFaxFVfKKcHuFQ@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1319808450-9617-1-git-send-email-cyliu@xxxxxxxx> <4EB184DE020000660000603E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1320238770.3084.51.camel@xxxxxxxxxxxxxxxxxxxxxx> <CAERYnoaMLUcY_mr=+S86kj4=0RBk5-smUNpxRzOrpGPHtoCh+A@xxxxxxxxxxxxxx> <CAPLaKK7Eh3_DzLTVmnk6f6Cw7bDVBxkm7_-=cFaxFVfKKcHuFQ@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110818 Icedove/3.0.11
On 04/11/11 09:14, Roger Pau Monné wrote:
> 2011/11/4 Chunyan Liu <cyliu@xxxxxxxx>:
>>> This needs to be libxl_fork, I think. Perhaps even this whole thing
>>> should be libxl__spawn_spawn (not sure about that)?
>>
>> I noticed that in libxl, some places use fork() and other places use
>> libxl_fork(), device-model uses libxl__spawn_spwan. As for this place, I am
>> not clear if fork() + execvp() might cause some problem? Or it is just
>> considered better to use libxl_fork or libxl__spawn_spwan?

vfork() no longer exists in the POSIX.1-2008 standard so you probably
should not use it.

David

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel