[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel]xl create PV guest with qcow/qcow2 disk images fail
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? If you are going to use fork to execute a file it might be best to use vfork + libxl__exec instead. I have proposed the addition of a new function in a patch to just do this (call vfork and libxl__exec), which is also interesting for the execution of hotplug scripts. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |