aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_internal.h
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2012-10-09 11:08:19 +0100
committerAnthony PERARD <anthony.perard@citrix.com>2012-10-09 11:08:19 +0100
commit7a906b938f21888e955acfabb297b9590be62b8a (patch)
treefc8f465ff783e36e66dff9fa9cdce1f52becdf0e /tools/libxl/libxl_internal.h
parent5c2852a2a5b1a138b79672dae6e2264f26d6b1d9 (diff)
downloadxen-7a906b938f21888e955acfabb297b9590be62b8a.tar.gz
xen-7a906b938f21888e955acfabb297b9590be62b8a.tar.bz2
xen-7a906b938f21888e955acfabb297b9590be62b8a.zip
libxl_qmp: Introduce libxl__qmp_insert_cdrom.
This function can eject or change the CDROM for a guest that use qemu-xen as a device-model. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_internal.h')
-rw-r--r--tools/libxl/libxl_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h
index afa36a76ec..4240ef2b0e 100644
--- a/tools/libxl/libxl_internal.h
+++ b/tools/libxl/libxl_internal.h
@@ -1406,6 +1406,7 @@ _hidden int libxl__qmp_resume(libxl__gc *gc, int domid);
_hidden int libxl__qmp_save(libxl__gc *gc, int domid, const char *filename);
/* Set dirty bitmap logging status */
_hidden int libxl__qmp_set_global_dirty_log(libxl__gc *gc, int domid, bool enable);
+_hidden int libxl__qmp_insert_cdrom(libxl__gc *gc, int domid, const libxl_device_disk *disk);
/* close and free the QMP handler */
_hidden void libxl__qmp_close(libxl__qmp_handler *qmp);
/* remove the socket file, if the file has already been removed,