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

Re: [Xen-users] Xen does't run a domainU


  • To: xen list <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: <helicoterus-elih@xxxxxxxx>
  • Date: Tue, 2 Oct 2007 19:48:47 +0200 (CEST)
  • Delivery-date: Tue, 02 Oct 2007 10:49:42 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=zhnGZLuoNVMgAft69TpZRutD0kQoSJfprCIoK78n83fmT2ClnOs8MDJ2dPlwfw3EjVeUkyUjZ1ZEY4hGqXPXtqH5Vo5t5FAhIGPjgX+FtFhMpW4FaAoP9utSUt5lvHDcKtumIPnOxrQ2nmQzFAXn02tMUAKWYnArrpWTOptYKBM=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> Hi, please post moreinfo about how you made the domU image
>
This is config file for the domain (I cleaned some comments):

# -*- mode: python; -*-

# Kernel image file and (optional) ramdisk (initrd).
kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"

# Or use domUloader instead of kernel/ramdisk to get kernel from domU FS
#bootloader = "/usr/lib/xen/boot/domUlaoder.py"
#bootentry = "hda2:/vmlinuz-xen,/initrd-xen"
#bootentry = "/boot/vmlinuz-xen,/boot/initrd-xen"

# The domain build function. Default is 'linux'.
#builder='linux'

memory = 32

# A name for your domain. All domains must have different names.
name = "OpenSuse"

# 128-bit UUID for the domain. The default behavior is to generate a
new UUID
# on each call to 'xm create'.
#uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9"

# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = "" # leave to Xen to pick
#cpus = "0" # all vcpus run on CPU0
#cpus = "0-3,5,^1" # run on cpus 0,2,3,5

# Number of Virtual CPUS to use, default is 1
#vcpus = 1

#----------------------------------------------------------------------------
# Define network interfaces.

# By default, no network interfaces are configured. You may have one
created
# with sensible defaults using an empty vif clause:
#
# vif = [ '' ]
#
# or optionally override backend, bridge, ip, mac, script, type, or vifname:
#
# vif = [ 'mac=00:16:3e:00:00:11, bridge=xenbr0' ]
#
# or more than one interface may be configured:
#
# vif = [ '', 'bridge=xenbr1' ]

vif = [ '' ]

disk = [ 'file:/home/vale/hda.img,ioemu:hda1,w' ]
cdrom = '/dev/hdd'
boot = 'd'


#vtpm = [ 'instance=1,backend=0' ]


# Set if you want dhcp to allocate the IP address.
#dhcp="dhcp"
# Set netmask.
#netmask=
# Set default gateway.
#gateway=
# Set the hostname.
#hostname= "vm%d" % vmid

# Set root device.
#root = "/dev/hda1"
root = "/dev/hda1"
# Root device for nfs.
#root = "/dev/nfs"
# The nfs server.
#nfs_server = '169.254.1.0'
# Root directory on the nfs server.
#nfs_root = '/full/path/to/root/directory'

# Extra arguments to pass to the kernel.
extra = ""

#----------------------------------------------------------------------------
# Configure the behaviour when a domain exits. There are three 'reasons'
# for a domain to stop: poweroff, reboot, and crash. For each of these you
# may specify:
#
# "destroy", meaning that the domain is cleaned up as normal;
# "restart", meaning that a new domain is started in place of
the old
# one;
# "preserve", meaning that no clean-up is done until the domain is
# manually destroyed (using xm destroy, for example); or
# "rename-restart", meaning that the old domain is not cleaned up, but is
# renamed and a new domain started in its place.
#
# The default is
#
#
#
#
#
# For backwards compatibility we also support the deprecated option restart
#
# restart = 'onreboot' means
#
#
#
# restart = 'always' means
#
#
#
# restart = 'never' means
#
#

#
#
#

#============================================================================



L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
_______________________________________________
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®.