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] domU .cfg file







> Date: Fri, 15 Apr 2011 19:43:45 +0200
> From: bart.coninckx@xxxxxxxxxx
> To: arya2595@xxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] domU .cfg file
>
> reply with the list in CC please
>
>
>
> On 04/15/11 19:42, Achala Aryal wrote:
> >
> > I am new to both xen so kinda dum
> >
> > I can't start the DomU.
> >
> > brctl show gives:
> > bridge name bridge id STP enabled interfaces
> > eth0 8000.0025223040d6 no peth0
> > tap24.0
> > virbr0 8000.000000000000 yes
> >
> > i don't know where tap24.0 comes from.
> > attachment is my xend-config.sxp
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > Date: Fri, 15 Apr 2011 19:28:21 +0200
> > > From: bart.coninckx@xxxxxxxxxx
> > > To: arya2595@xxxxxxxxxxxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx
> > > Subject: Re: [Xen-users] domU .cfg file
> > > CC:
> > >
> > > copied the list again.
> > >
> > > does your bridge exist when you start the DomU?
> > > or do you at least have /etc/xen/xend-config.sxp configured to
> > > dynamically create bridges?
> > >
> > >
> > > B.
> > >
> > >
> > > On 04/15/11 19:21, Achala Aryal wrote:
> > > >
> > > > Sorry:
> > > > here is my cfg file:
> > > >
> > > > import os, re
> > > > arch = os.uname()[4]
> > > > if re.search ('64', arch):
> > > > arch_libdir = 'lib64'
> > > > else:
> > > > arch_libdir = 'lib'
> > > > kernel = "/usr/lib/xen/boot/hvmloader"
> > > > builder = "hvm"
> > > > memory = 1024
> > > > shadow_memory = 8
> > > > name = "Window2"
> > > > vif = [ 'type=ioemu, bridge=eth0' ]
> > > > #vif = [ 'mac=00:16:3e:36:a1:e9' ]
> > > > #, type=ioemu, bridge=eth0' ]
> > > > acpi = 1
> > > > apci = 1
> > > > cdrom =[ 'file:/etc/xen/window.iso']
> > > > disk = [ 'file:/etc/xen/window.img,sda,w',
> > > > 'file:/etc/xen/window.iso,hdc:cdrom,r' ]
> > > > #disk = [ 'phy:/dev/cdrom,sda7,w', 'phy:/dev/sda8,hdc:cdrom,r' ]
> > > > device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> > > > boot='dc'
> > > > sdl = 0
> > > > vnc = 1
> > > > vncconsole = 1
> > > > vncpasswd = ''
> > > > serial = 'pty'
> > > > usbdevice = 'tablet'
> > > >
> > > >
> > > > and if I change disk line with #disk = [ 'phy:/dev/cdrom,sda,w',
> > > > 'phy:/dev/sda,hdc:cdrom,r' ] then it says domain already exists.
> > > > xm list also shows the guest domain but in pause (p) state.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > Date: Fri, 15 Apr 2011 19:18:21 +0200
> > > > > From: bart.coninckx@xxxxxxxxxx
> > > > > To: arya2595@xxxxxxxxxxxxxxxxxx
> > > > > Subject: Re: [Xen-users] domU .cfg file
> > > > > CC: hans@xxxxxxxxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx
> > > > >
> > > > > in what newspaper did you publish your config file?
> > > > >
> > > > >
> > > > >
> > > > > On 04/15/11 19:11, Achala Aryal wrote:
> > > > > >
> > > > > > sorry for late response.
> > > > > > I am trying to create HVM domU with window XP but I am unable to
> > > > create is.
> > > > > > Every time I do xm create /etx/xen/guest.cfg , I get error saying
> > > > Device
> > > > > > 0 (vif) could not be connected. Hotplug scripts not working.
> > > > > > I googled it but i am unable to find solution.
> > > > > > Do you have any idea what is the reason behind this?
> > > > > > Anju
> > > > > >
> > > > > > *
> > > > > > *
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > > Date: Thu, 14 Apr 2011 21:11:22 +0200
> > > > > > > From: hans@xxxxxxxxxxxxxxx
> > > > > > > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > > > Subject: Re: [Xen-users] domU .cfg file
> > > > > > >
> > > > > > > Hello,
> > > > > > >
> > > > > > > > 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.
> > > > > > >
> > > > > > > http://www.centos.org/docs/5/html/5.2/Virtualization/index.html
> > > > > > >
> > > > > > > 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
> > > > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > > > http://lists.xensource.com/xen-users
> > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > 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
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users

Attachment: xend-config.txt
Description: Text document

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