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/
Home Products Support Community News


[Xen-users] Problems in creating domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems in creating domU
From: Molly Bloom <psalviato@xxxxxxxxx>
Date: Wed, 25 Feb 2009 12:24:08 +0100
Delivery-date: Wed, 25 Feb 2009 03:24:54 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=16s361JOwogvGxAn9biZY5INWvquad/dZkbS620KPMs=; b=a7FEAl/ig38+h26Pyd2DPzgJTjmTVjVLRxrNUxA8Bie/kq5CBNXREUZ5hOEC8I6jPD HQEBiYQEjqfcDrmTmqqsgFs5aaX760h1K339AqNWm0ac3VHavXrKvo5Yke5Ddew/Tern U9KXzulQOERXX16jYR+1nswURT/GkH93VvuRY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DM2Pc4WshGgIrJl0IxNUvThLYcN/6B1K8qpnXJThZsfT3Alv7QdxCNaVMBuJ1VyrqC epslEyovOHMKWiDax0cZ0YZ2rg4ZsNtpRtUKGATEXNEilG6iYDCvYFJ1SLYVMpByNQtn 597qinN5D7y5CJd5F9cujdfEbnmDJuAymb88g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello there,
I have tried to create an HVM domainU guest , but the "template" I have used and modified on the basis of my system doesn't work.
The template is:
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
arch_libdir = 'lib'

# Kernel image file.
kernel = "/usr/lib/xen/boot/hvmloader"

# The domain build function. HVM domain uses 'hvm'.

# Initial memory allocation (in megabytes) for the new domain.
# WARNING: Creating a domain with insufficient memory may cause out of
# memory errors. The domain needs enough memory to boot kernel
# and modules. Allocating less than 32MBs is not recommended.
memory = 128

# Shadow pagetable memory for the domain, in MB.
# If not explicictly set, xend will pick an appropriate value.
# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
# shadow_memory = 8

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

# 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"

# The number of cpus guest platform has, default=1

# Enable/disable HVM guest PAE, default=1 (enabled)

# Enable/disable HVM guest ACPI, default=1 (enabled)

# Enable/disable HVM APIC mode, default=1 (enabled)
# Note that this option is ignored if vcpus > 1

# 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

# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
#vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0, model=ne2k_pci' ]
# type=ioemu specify the NIC is an ioemu device not netfront
vif = [ 'type=ioemu, 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,r' ]
disk = [ 'file:/var/images/min-el3-i386.img,hda,w', ',hdc:cdrom,r' ]


I'm using Xen on Scientific Linux 5.
Is there anybody who can help me?

Thanks in advance,

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problems in creating domU, Molly Bloom <=