|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 0 of 4] libxl: improve error handling when device mod
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
|
|
|
|
|