aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_utils.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-08 07:47:52 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-08 07:47:52 +0000
commit7b4effff892d18d8e83563a7e6868bb7c7749fc5 (patch)
tree75fff8f77c32c9d773064852abc8b549921c6e85 /tools/libxl/libxl_utils.h
parent4baca0b56014781751a5dcca4eb8abf4c08b16ba (diff)
downloadxen-7b4effff892d18d8e83563a7e6868bb7c7749fc5.tar.gz
xen-7b4effff892d18d8e83563a7e6868bb7c7749fc5.tar.bz2
xen-7b4effff892d18d8e83563a7e6868bb7c7749fc5.zip
libxenlight: implement cdrom insert/eject
This patch implements functions in libxenlight to change the cdrom in a VM at run time and to handle cdrom eject requests from guests. This patch adds two new commands to xl: cd-insert and cd-eject; it also modifies xl to handle cdrom eject requests coming from guests (actually coming from qemu). Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_utils.h')
-rw-r--r--tools/libxl/libxl_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/libxl_utils.h b/tools/libxl/libxl_utils.h
index cf57b0febb..50fc0f893c 100644
--- a/tools/libxl/libxl_utils.h
+++ b/tools/libxl/libxl_utils.h
@@ -32,6 +32,7 @@ int libxl_param_to_domid(struct libxl_ctx *ctx, char *p, uint32_t *domid);
int libxl_get_stubdom_id(struct libxl_ctx *ctx, int guest_domid);
int libxl_is_stubdom(struct libxl_ctx *ctx, int domid);
int libxl_create_logfile(struct libxl_ctx *ctx, char *name, char **full_name);
+int libxl_string_to_phystype(struct libxl_ctx *ctx, char *s, libxl_disk_phystype *phystype);
#endif