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-users

Re: [Xen-users] CDRom and DomU

To: Edward Ing <inge@xxxxxxxxxxxx>
Subject: Re: [Xen-users] CDRom and DomU
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Thu, 21 Dec 2006 15:21:33 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Dec 2006 07:21:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1166678510.8236.4.camel@localhost>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <005a01c71194$a94f0a70$9800a8c0@main> <4589CA24.4090308@xxxxxxxxx> <1166678510.8236.4.camel@localhost>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Thu, Dec 21, 2006 at 12:21:50AM -0500, Edward Ing wrote:
> My disk specification is exactly as in the first.
> 
> disk =
> ['phy:/dev/domU/dom1root,hda1,w','phy:/dev/domU/dom1swap,hda2,w','phy:/dev/hdc,hdc,r']
> 
> However the CDROM is not visible domU

That's because you haven't told Xen that hdc should be exposed as a CDROM
device instead of the normal harddisk. Change the config to look like:

disk =
 
['phy:/dev/domU/dom1root,hda1,w','phy:/dev/domU/dom1swap,hda2,w','phy:/dev/hdc,hdc:cdrom,r']

Note, the ":cdrom" tag on the end of the target device name.

> ====================
> On 11/17/06, jonr@xxxxxxxxxx <jonr@xxxxxxxxxx> wrote:
>         disk = ['phy:/dev/hdc,hdc,r']
>         
>         or
>         
>         disk = ['tap:aio:cdrom.iso,hdc,r']
>         
>         cdrom = '/dev/hdc'
> You should only need this, not the latter two.

No, 'cdrom = ' is obsolete as of Xen 3.0.3. Instead you need to have :cdrom
appended to target device name,

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users