From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony PERARD Subject: [PATCH V2 0/3] libxl cd-insert/eject with qemu-xen Date: Mon, 8 Oct 2012 19:55:19 +0100 Message-ID: <1349722522-25748-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen Devel Cc: Anthony PERARD , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org This patch series 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. Change since v1: - Update first patch to use new facilities introduce by my previous applied series. - Use the disk dev number instead of the vdev string as on id for the cdrom. 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 | 16 ++++++++++++++++ 4 files changed, 27 insertions(+), 9 deletions(-) -- Anthony PERARD