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] Fix to eject cdrom on HVM Domain

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][IOEMU] Fix to eject cdrom on HVM Domain
From: Kasai Takanori <kasai.takanori@xxxxxxxxxxxxxx>
Date: Wed, 02 Sep 2009 14:40:55 +0900
Delivery-date: Tue, 01 Sep 2009 22:43:51 -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 tried to eject cdrom(/dev/hdc) on HVM Domain.
But, cdrom media are not ejected from the cdrom device on HostOS. 

The module to eject the cdrom device has already been implemented in 
qemu-dm.
 But, all devices are opened as raw device for VBD. 
Therefore, the module to eject the cdrom device is not work. 

The cdrom device was corrected to open as a physical device on HostOS. 
When eject is executed on HVM Domain, cdrom media are ejected from the 
cdrom device on HostOS. 

This patch corrected the problem.
Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>

Best Regards,

---
Takanori Kasai

Attachment: ioemu-eject-cdrom.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] Fix to eject cdrom on HVM Domain, Kasai Takanori <=