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] Missing CDROM media

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Missing CDROM media
From: "Ross Maxfield" <rmaxfiel@xxxxxxxxxx>
Date: Mon, 10 Apr 2006 09:57:35 -0600
Delivery-date: Mon, 10 Apr 2006 08:58:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
If the 'cdrom=' option is specified in the definition file but media is not 
found in the CD drive then main() in vl.c exits and the guest appears to hang.  
This patch modifies vl.c slightly to check for the presents of media.  If the 
cdrom cannot be opened then the cd entry is removed from hd_filename[] and 
bs_table[] allowing the guest to continue initializing. If the guest requires 
the CD media then the guest should report, gracefully or otherwise, that it's 
missing.

I would like to see this patch applied to 3.0.2-testing as well.

Thanks,
Ross

Attachment: missing_media.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>