diff options
author | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-04-11 14:14:17 +0100 |
---|---|---|
committer | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-04-11 14:14:17 +0100 |
commit | 3d2a8f74e6a6067cfc67923d1bea58959427b753 (patch) | |
tree | 98286302132564db766b64a0ae0a9f2e57b0e83e /tools/libxl/xl.h | |
parent | 378e96065b390d217e2b381a218ccb7bbb5fbe1e (diff) | |
download | xen-3d2a8f74e6a6067cfc67923d1bea58959427b753.tar.gz xen-3d2a8f74e6a6067cfc67923d1bea58959427b753.tar.bz2 xen-3d2a8f74e6a6067cfc67923d1bea58959427b753.zip |
libxl: abolish libxl_ctx_postfork
libxl's task has become too complicated (particularly in the presence
of both forking and multithreading) to support reuse of the same
libxl_ctx after fork.
So abolish libxl_ctx_fork. xl instead simply initialises a new
libxl_ctx.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/xl.h')
-rw-r--r-- | tools/libxl/xl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/xl.h b/tools/libxl/xl.h index 0a3d628d45..7e258d5408 100644 --- a/tools/libxl/xl.h +++ b/tools/libxl/xl.h @@ -105,6 +105,7 @@ struct cmd_spec *cmdtable_lookup(const char *s); extern libxl_ctx *ctx; extern xentoollog_logger_stdiostream *logger; +void postfork(void); /* global options */ extern int autoballoon; |