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] Sample Config File?

To: "Stephan Seitz" <s.seitz@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Sample Config File?
From: "John Morris" <frankenbean@xxxxxxxxx>
Date: Fri, 26 Oct 2007 11:12:11 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 26 Oct 2007 08:12:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=deL4la15FKIikHT+1Unj+WvGk4wr1XOy/AaIuG3NkNo=; b=lh829jN/2O4D/y8s4YkbzW1f1WaVy8k/5SpzKcv/WUCS9nHqYPjWyDZClCg7Kj77UAFn2+CdCPVYr9U1c19pvIyRudf/b01NErVUa9q+vcgowcGRO0YCcouyZ30rHR64cfJaqOAl18xX91+hbcMslJF9Bd22ZdTyQFjVE9Ikqbc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=BF7ZIvfAlxxWoBD34Iig8tyDKrhUfAMqDdys6Usw5P1dn2tqmTTBAzhUBmhP8R6qtApAxo3JnWbJkrUeBZM2fGroLKFyLfeYaYD17s2m++jzGj9KoJObCV374ephwB78fZLWV8LNtAcgAMb6RbDGhrIIXJcwiggRQraW3eqr3ws=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4721FB3C.2080104@xxxxxxxxxxxx>
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: <f795c1c0710250800i1ecccc7dq4b25b93b3038481b@xxxxxxxxxxxxxx> <9c2cca270710251419y5fda0a94td2a6c1bc29f549c6@xxxxxxxxxxxxxx> <9c2cca270710251953h39ad234bmdbc42ca86f5a2214@xxxxxxxxxxxxxx> <f795c1c0710260529v4db998a2iff15628d1c0ad7b1@xxxxxxxxxxxxxx> <4721FB3C.2080104@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
It seems that I'm almost there.  My VM fails to boot from CD.  My disk options are

disk = [ 'phy:/dev/Xen/WinXP,ioemu:hda,w', 'file:/xens/test/winxp.iso,ioemu:hdc:cdrom,r' ]

and my boot options are:

boot="d"

Any thoughts? 

On 10/26/07, Stephan Seitz <s.seitz@xxxxxxxxxxxx> wrote:
John Morris schrieb:
> Thanks, Amos.  Do you happen to know how I might alter this to work with
> LVM?  I have a PV of 500GB, with a VG called Xen.  I have a 40GB Logical
> Volume set up for my windows virtual machine.

Hi,

first create the lv.

# lvcreate -L <image size>G -n <image name> <vg name>
e.g.
# lvcreate -L 80G -n mywindows-disk Xen

using this scheme, the disk entry in your hvm config file would
read something like:

disk = [ 'phy:/dev/Xen/mywindows-disk,ioemu:hda,w' ]

btw. i would always add a mac address to the vif line. there's no
assigned 'free' address space to use, just use one which isn't
already in use at your network segment. e.g. :

vif = [ 'type=ioemu,mac=02:16:3e:48:04:38,bridge=xenbr0' ]

greetings

Stephan


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>