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: "Amos Shapira" <amos.shapira@xxxxxxxxx>
Subject: Re: [Xen-users] Sample Config File?
From: "John Morris" <frankenbean@xxxxxxxxx>
Date: Fri, 26 Oct 2007 08:29:46 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 26 Oct 2007 05:30:34 -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=rTrQnnvdSx4XPaHAPpl7ip/46TpQ5EB7PS2C8v2oQfo=; b=hrlADLkAQM3pPgjo0zpx8VemTNJh96EuTkd90XMUPktbi/sRX+6T8ezJgYUYM/vSe40j298B25avl325Kq5OD9wak7h/xtPb9hajsSkmcjPHz5AhRG/3ZuhsQY8Fr4710lmLbV5BdAh2AMBxjvT6yP3rUHuASR5ZaIFg9aUnh/8=
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=hIOui6KbrR9cpR+1D8jrHKoqo8R7h65q/ysMyaf4Lw7co5yKUt79XZXTH1/N762tCJ/7uEJZZwr/FZgKfyPwdSXgUFRE0Kd2SxKPZPyzeZ0G4wrusBiogRslMLW2UqnTnCnAk+Ru/Nd/GF+RImDGmcQeo2mvCoGl69PUbVqYdPQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9c2cca270710251953h39ad234bmdbc42ca86f5a2214@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.

On 10/25/07, Amos Shapira <amos.shapira@xxxxxxxxx> wrote:
(Copying to the list, for other's benefit)


On 25/10/2007, John Morris < frankenbean@xxxxxxxxx> wrote:
Hi.  I am running Xen 3.0.3-1 on Debian Etch.  Does anyone have a sample config file for creating a windows DomU?  I have the ISO file from my windows CD.  I'm not using LVM

Here is what I use with Windows XP Pro and the CD I got with my Dell, under Debian Etch on an Intel Core 2 Duo with VT support:

kernel = '/usr/lib/xen-3.0.3-1/boot/hvmloader'
builder = 'hvm'
memory = '512'
name = 'winxp'
vif = ['type=ioemu, bridge=xenbr0']
# the following is the 'setup' phase, with an ISO image I copied from the Windows CD. If you want to use the CD for installation then ignore it,
#disk = [ 'file:/home/xen/domains/winxppro/disk.img,ioemu:hda,w', 'file:/home/amos/Documents/WindowsXP-Pro-SP2.iso,ioemu:hdb:cdrom,r' ]
# the following is used after the setup, so windows can access the hardware cdrom
disk = [ 'file:/home/xen/domains/winxppro/disk.img,ioemu:hda,w', '/dev/cdrom,ioemu:hdb:cdrom,r' ]
device_model='/usr/lib/xen-3.0.3-1/bin/qemu-dm'
ne2000="0"
boot='c' # change to 'd' to make it boot from the cd, then to 'c' to boot from hard disk
sdl=1 # this line allowed the console to open
soundhw='all' # allows sounds in Windows, but when the VM runs you can't have sound in Linux. Possibly something to do with device sharing through ALSA

--Amos


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

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