diff options
author | Gianni Tedesco <gianni.tedesco@citrix.com> | 2011-01-11 18:29:43 +0000 |
---|---|---|
committer | Gianni Tedesco <gianni.tedesco@citrix.com> | 2011-01-11 18:29:43 +0000 |
commit | 760b359388cf4bc948ff6cbf96ab5f629ac45fe5 (patch) | |
tree | dd94f75650657c37a6a521560505eda6588576b4 /tools/libxl/libxl_exec.c | |
parent | 64bc47d9a1055404b8c91467d6484ad3434bdde0 (diff) | |
download | xen-760b359388cf4bc948ff6cbf96ab5f629ac45fe5.tar.gz xen-760b359388cf4bc948ff6cbf96ab5f629ac45fe5.tar.bz2 xen-760b359388cf4bc948ff6cbf96ab5f629ac45fe5.zip |
libxl: Introduce libxl_domain_create_new() and libxl_domain_create_restore()
These functions are introduced as the new way to create domains with libxl
they prevent the callers from need to know about low-level implementation
details such as:
- libxl_domain_make()
- libxl_domain_build()
- libxl_domain_restore()
- when to attach the console
- how to start the device model
Above mentioned functions and all API's for the device model, which are now
redundant, have been made internal to libxl and no longer accessible.
The ocaml binding for libxl has not been properly updated to reflect the
changes, wrappers for the old functions have been removed but the code to wrap
the new functions has not been added.
Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_exec.c')
-rw-r--r-- | tools/libxl/libxl_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_exec.c b/tools/libxl/libxl_exec.c index 31980fb1ba..6c212209f3 100644 --- a/tools/libxl/libxl_exec.c +++ b/tools/libxl/libxl_exec.c @@ -90,7 +90,7 @@ void libxl_report_child_exitstatus(libxl_ctx *ctx, } int libxl__spawn_spawn(libxl_ctx *ctx, - libxl_device_model_starting *starting, + libxl__device_model_starting *starting, const char *what, void (*intermediate_hook)(void *for_spawn, pid_t innerchild)) |