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

[Xen-users] Network and first domu installation

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Network and first domu installation
From: CS: Ronald Wiplinger <ronald@xxxxxxxxxxxxxx>
Date: Fri, 26 May 2006 07:42:45 +0800
Delivery-date: Thu, 25 May 2006 16:43:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)
I would like to use on my notebook XEN just as an add on sometimes. Therefore I would like to get Dom0 also able to have networking ability. How can I do that? (I know it is designed for security reason not to do so)

I tried all variations of config files in /etc/xen/examples to boot from cd and install a small Linux version (puppy). It just does not start. Puppy usually runs from the CD, however, if I can get XEN to work, I could install it to the hard disk.


All example config files at a glance:

xmexample.domUloader:memory = 64
xmexample.domUloader:name = "ExampleDomain"
xmexample.domUloader:vif = [ '' ]
xmexample.domUloader:disk = [ 'phy:hda1,hda1,w' ]
xmexample.domUloader:bootloader = "/usr/lib/xen/boot/domUloader.py"
xmexample.domUloader:bootentry = "hda1:/boot/vmlinuz-xen,/boot/initrd-xen"
xmexample.domUloader:root = "/dev/hda1"
xmexample.domUloader:extra = "4"

xmexample.hvm:arch = os.uname()[4]
xmexample.hvm:    arch_libdir = 'lib64'
xmexample.hvm:    arch_libdir = 'lib'
xmexample.hvm:kernel = "/usr/lib/xen/boot/hvmloader"
xmexample.hvm:builder='hvm'
xmexample.hvm:memory = 128
xmexample.hvm:name = "ExampleHVMDomain"
xmexample.hvm:vif = [ 'type=ioemu, bridge=xenbr0' ]
xmexample.hvm:disk = [ 'file:/var/lib/xen/images/disk.img,ioemu:hda,w' ]
xmexample.hvm:device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
xmexample.hvm:sdl=0
xmexample.hvm:vnc=1
xmexample.hvm:vncviewer=1
xmexample.hvm:stdvga=0
xmexample.hvm:serial='pty'
xmexample.hvm:ne2000=0

xmexample.rescue:    val = int(val)
xmexample.rescue:    if val <= 0:
xmexample.rescue: use="Virtual machine id. Integer greater than 0.",
xmexample.rescue:            check=vmid_check)
xmexample.rescue:kernel = "/boot/vmlinuz-xen"
xmexample.rescue:ramdisk = "/boot/initrd-xen"
xmexample.rescue:memory = 64
xmexample.rescue:name = "Rescue%i" % vmid
xmexample.rescue:vif = [ 'mac=00:16:3e:00:00:%02x, bridge=xenbr0' % vmid ]
xmexample.rescue:disk = [ 'file:/var/lib/xen/images/rescue%i,hda1,w' % (vmid) ]
xmexample.rescue:hostname= "rescue%d" % vmid
xmexample.rescue:root = "/dev/hda1 rw"
xmexample.rescue:extra = "3"

xmexample.vti:arch = os.uname()[4]
xmexample.vti:arch_libdir = 'lib'
xmexample.vti:kernel = "/boot/Flash.fd"
xmexample.vti:builder='hvm'
xmexample.vti:memory = 256
xmexample.vti:name = "ExampleVTIDomain"
xmexample.vti:vif = [ 'type=ioemu, bridge=xenbr0' ]
xmexample.vti:disk = [ 'file:/var/lib/xen/images/disk.img,ioemu:hda,w' ]
xmexample.vti:device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
xmexample.vti:memmap = '/usr/lib/xen/boot/mem-map.sxp'
xmexample.vti:sdl=1
xmexample.vti:stdvga=1
xmexample.vti:vnc=0
xmexample.vti:vncviewer=0

xmexample1:kernel = "/boot/vmlinuz-xen"
xmexample1:ramdisk = "/boot/initrd-xen"
xmexample1:memory = 64
xmexample1:name = "ExampleDomain"
xmexample1:vif = [ '' ]
xmexample1:disk = [ 'phy:hda1,hda1,w' ]
xmexample1:root = "/dev/hda1 ro"
xmexample1:extra = "4"

xmexample2:    val = int(val)
xmexample2:    if val <= 0:
xmexample2:            use="Virtual machine id. Integer greater than 0.",
xmexample2:            check=vmid_check)
xmexample2:kernel = "/boot/vmlinuz-xen"
xmexample2:ramdisk = "/boot/initrd-xen"
xmexample2:memory = 64
xmexample2:name = "VM%d" % vmid
xmexample2:vcpus = 4 # make your domain a 4-way
xmexample2:vif = [ '' ]
xmexample2:disk = [ 'phy:sda%d,sda1,w' % (7+vmid),
xmexample2:root = "/dev/sda1 ro"
xmexample2:extra = "4 VMID=%d usr=/dev/sda6" % vmid


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Network and first domu installation, CS : Ronald Wiplinger <=