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/
Home Products Support Community News


Re: [Xen-users] domU .cfg file

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] domU .cfg file
From: Hans Vos <hans@xxxxxxxxxxxxxxx>
Date: Thu, 14 Apr 2011 21:11:22 +0200
Delivery-date: Thu, 14 Apr 2011 12:12:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY146-w1785ADA32728BA2719A9C3F3AD0@xxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BAY146-w1785ADA32728BA2719A9C3F3AD0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20110303 Thunderbird/3.1.9

what does the following disk line in domU cfg file tell us???

disk = [ 'file:/home/xen/xenwin2008.img,hda,w', 
'file:/home/xen/windows2008.iso,hdc:cdrom,r' ]

specially hda, w and hdc:cdrom,r??? how can we check for this?

Are you looking for an explanation? This is rather straight forward. I would suggest you read this. I've only been playing around which Xen for three weeks now and this guide helped me a lot.


The first part provides the domU with an hda device which is an image file on the host (dom0) located at "/home/xen/xenwin2008.img". And this is presented in read+write mode (hence the "w").

The second part provides the domU with an hdc device which is a simulated CD-ROM device in read mode. And the source is an ISO file of a Windows 2008 DVD.

- Hans

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>