aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/utils.h
diff options
context:
space:
mode:
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-08-10 09:46:51 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-08-10 09:46:51 +0000
commitc2bf763b7fdcb53ab63954975890aa786e8074cc (patch)
tree27b760f69c79a258b8f48e83112e8d8005048989 /tools/xenstore/utils.h
parent1b8d0b88241100f67f7cd4c7e07f881c9fd3844e (diff)
downloadxen-c2bf763b7fdcb53ab63954975890aa786e8074cc.tar.gz
xen-c2bf763b7fdcb53ab63954975890aa786e8074cc.tar.bz2
xen-c2bf763b7fdcb53ab63954975890aa786e8074cc.zip
Make xen daemon startup more robust.
1) make xenconsoled exit gracefully if xcs dies 2) daemonize xenstored before binding to xenstored socket 3) wait to close stdio in xenstored until we're ready to accept connections (so that PID=`xenstored --output-pid` doesn't return until it's ready to accept connections) 4) updates tools/misc/xend for these changes Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Rusty Russell <rusty@rustycorp.com.au> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'tools/xenstore/utils.h')
-rw-r--r--tools/xenstore/utils.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/xenstore/utils.h b/tools/xenstore/utils.h
index a84f19a22a..5fbfceeaa9 100644
--- a/tools/xenstore/utils.h
+++ b/tools/xenstore/utils.h
@@ -40,9 +40,6 @@ void barf_perror(const char *fmt, ...) __attribute__((noreturn));
void *grab_file(const char *filename, unsigned long *size);
void release_file(void *data, unsigned long size);
-/* For writing daemons, based on Stevens. */
-void daemonize(void);
-
/* Signal handling: returns fd to listen on. */
int signal_to_fd(int signal);
void close_signal(int fd);