[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Sample Config File?


  • To: "Amos Shapira" <amos.shapira@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.