WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH][IOEMU] Allow changing CD for /dev/xvdX devices.

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][IOEMU] Allow changing CD for /dev/xvdX devices.
From: Kasai Takanori <kasai.takanori@xxxxxxxxxxxxxx>
Date: Wed, 17 Mar 2010 16:41:04 +0900
Delivery-date: Wed, 17 Mar 2010 00:42:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

We found the issue being not able to change CD on the HVM-Domain.
It is possible on the /dev/hdc device, 
but it is impossible on the/dev/xvdc device. 

We want to work it as all /dev/xvdX devices on the HVM-domain
 as well as on the PV-domain. 

Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>

The execution method is as follows.
----------------------------------------------------------------------
Domain configuration file:
 disk = ["tap:aio:/<guest image file>,xvda,w", ",xvdc:cdrom,r"]

Operation that assign CD:
 # xm block-configure <domain> file:<iso image> xvdc:cdrom r

Operation that releases CD
 # xm block-configure <domain> '' xvdc:cdrom r
----------------------------------------------------------------------

Best Regards,

---
Takanori Kasai

Attachment: ioemu-media-change-xvdX.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][IOEMU] Allow changing CD for /dev/xvdX devices., Kasai Takanori <=