[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxl: Call setsid(2) before exec'ing device model



Jim Fehlig writes ("[Xen-devel] [PATCH] libxl: Call setsid(2) before exec'ing 
device model"):
> While developing libvirt libxl driver I noticed that terminating the
> client causes any qemu-dm processes indirectly started by the client to
> also terminate.  Calling setsid(2) before exec'ing qemu-dm resolves the
> issue but I'm not quite sure about the placement of the setsid() call or
> any unforeseen side-affects of its use.  Comments welcome.

Thanks, I think your patch is correct, and has the setsid in the right
place.  libxl_spawn_spawn was another possibility but I think it's
probably better to do it in the caller.

Applied (with my and Stefano's ack) to 4.1 and unstable.

Ian.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.