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

[Xen-devel] [PATCH 0 of 4] libxl: improve error handling when device model fails to start early on



Currently when the device model fails to start there is a delay until
we timeout and report error, some users have misinterpretted this
delay as a hang.

To improve this firstly we can add an access(2) sanity check on the
device model binary before doing anything.

Secondly we can propagate child failures to the parent much quicker by
adding a pipe between the intermediate process (which blocks in
waitpid() on the child until libxl__spawn_detach is called or the
child exits) to allow failure to be reported immediately and with a
slightly more specific error message.

_______________________________________________
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®.