Displaying 2 results from an estimated 2 matches for "libxl__qmp_insert_cdrom".
2012 Jul 27
9
[PATCH 0/3] libxl cd-insert/eject with qemu-xen
...es provides the facility to eject and insert a cdrom when the
used device-model is qemu-xen. The only difference between both device-model is
a call to a QMP command as `xl cd-insert ...` will still update xenstore, even
if it''s not used by QEMU.
Anthony PERARD (3):
libxl_qmp, Introduce libxl__qmp_insert_cdrom.
libxl_dm: Set an id to cdrom drives with qemuu.
libxl: Fix cd-insert with qemu-xen.
tools/libxl/libxl.c | 12 ++++++------
tools/libxl/libxl_dm.c | 7 ++++---
tools/libxl/libxl_internal.h | 1 +
tools/libxl/libxl_qmp.c | 35 +++++++++++++++++++++++++++++++++++
4...
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...ools/libxl/libxl_internal.h
+++ b/tools/libxl/libxl_internal.h
@@ -1412,6 +1412,24 @@ _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);
+/* Same as normal, but "translated" */
+typedef struct libxl__device_usb {
+ libxl_usb_protocol protocol;
+ libxl_domid target_domid;
+ libxl_domid backend_domid;
+ libxl_domid dm_domid;
+ libxl_device_usb_type type...