aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-05-11 18:59:02 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-05-11 18:59:02 +0100
commit17ecbf8fed795c3d61b107b65200094ba259f14c (patch)
treef6fdddd71150d1d75d826315dba0d7ffe930f93e /tools/libxl/libxl.h
parent61f04e2d73f89f34e842f6ed9902e8d1e4cc0b5d (diff)
downloadxen-17ecbf8fed795c3d61b107b65200094ba259f14c.tar.gz
xen-17ecbf8fed795c3d61b107b65200094ba259f14c.tar.bz2
xen-17ecbf8fed795c3d61b107b65200094ba259f14c.zip
libxl: add a dummy ao_how to libxl_domain_core_dump
Although this function is not currently slow it may become so in the future (this also depends somewhat on the size of the guest). Therefore arrange for it to take an ao_how which it completes immediately. This will allow us to make it asynchronous in the future without breaking API compatibility. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl.h')
-rw-r--r--tools/libxl/libxl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
index 3087146ee6..d8dbb1e8c0 100644
--- a/tools/libxl/libxl.h
+++ b/tools/libxl/libxl.h
@@ -511,7 +511,9 @@ int libxl_domain_rename(libxl_ctx *ctx, uint32_t domid,
int libxl_domain_pause(libxl_ctx *ctx, uint32_t domid);
int libxl_domain_unpause(libxl_ctx *ctx, uint32_t domid);
-int libxl_domain_core_dump(libxl_ctx *ctx, uint32_t domid, const char *filename);
+int libxl_domain_core_dump(libxl_ctx *ctx, uint32_t domid,
+ const char *filename,
+ const libxl_asyncop_how *ao_how);
int libxl_domain_setmaxmem(libxl_ctx *ctx, uint32_t domid, uint32_t target_memkb);
int libxl_set_memory_target(libxl_ctx *ctx, uint32_t domid, int32_t target_memkb, int relative, int enforce);