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

[Xen-devel] xen 3.0 README 12/20/05

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Edward Dunagin <edunagin@xxxxxxxxx>
  • Date: Wed, 11 Jan 2006 15:14:50 -0700
  • Delivery-date: Thu, 12 Jan 2006 00:46:01 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=XDVBBi944YUxfI9wewgbLkzL3wUc8gwhCIKkIf6KFzQZkqM3FikBQWwtJoJ1wSqAsD7kF84mwfe7S/pySDILf0G/vYiEPR4K3edjMRZoz3GdcvYlHBPKVjF2Y0bFQmiyCDI463NLTLnlghB853oBH6kIGZmFY0+MaU2c839/UZk=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

i have followed the instrucrions in this file and have problems.

when i run..xm create /etc/xen/xmexample1..i get this error:
Error: Error creating domain: (0, 'Error')

i have tried adjusting the contents of your configuration file, without results
different from this.

i am running suse10.0 and xen-3.0_8257-0.1.gz. on a p4 with 1g ram and 122g h/d.

i am including the /etc/xen/xmexample1 file:
#  -*- mode: python; -*-
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm create'.
# You use a separate script for each domain you want to create, or
# you can set the parameters for the domain on the xm command line.

# Kernel image file.
kernel = "/boot/vmlinuz-xen"

# Optional ramdisk.
ramdisk = "/boot/initrd-xen"

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

# Initial memory allocation (in megabytes) for the new domain.
memory = 128

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

# 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 =2

# Define network interfaces.

# Number of network interfaces. Default is 1.

# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
vif = [ 'mac=00:16:3e:00:00:11, bridge=xenbr0' ]

# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.

disk = [ 'phy:hda1,hda1,w' ]

# Define to which TPM instance the user domain should communicate.
# The vtpm entry is of the form 'instance=INSTANCE,backend=DOM'
# where INSTANCE indicates the instance number of the TPM the VM
# should be talking to and DOM provides the domain where the backend
# is located.
# Note that no two virtual machines should try to connect to the same
# TPM instance. The handling of all TPM instances does require
# some management effort in so far that VM configration files (and thus
# a VM) should be associated with a TPM instance throughout the lifetime
# of the VM / VM configuration file. The instance number must be
# greater or equal to 1.
vtpm = [ 'instance=1,backend=0' ]

# Set the kernel command line for the new domain.
# You only need to define the IP parameters and hostname if the domain's
# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
# You can use 'extra' to set the runlevel and custom environment
# variables used by custom rc scripts (e.g. VMID=, usr= ).

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

# Set root device.
root = "/var/lib/xen/images/domain1/hda,ro"
# Root device for nfs.
#root = "/dev/nfs"
# The nfs server.
#nfs_server = '
# Root directory on the nfs server.
#nfs_root   = '/full/path/to/root/directory'

# Sets runlevel 4.
extra = "4"

PLEASE help.
Edward Dunagin
4646 Glenwood Drive
Bozeman, MT 59718
mobile 406-570-0992
Xen-devel mailing list



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