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] cannot create domains with xm

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] cannot create domains with xm
From: Iordan Iordanov <iordan@xxxxxxxxxxxxxxx>
Date: Fri, 10 Jun 2011 17:37:17 -0400
Delivery-date: Fri, 10 Jun 2011 14:38:26 -0700
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>
Organization: University Of Toronto
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
Hi,

I am using Debian 6 with the default xen kernel (2.6.32) and all the default Xen (4.0) packages. When I try to create a domain with xm, I invariably get an error. Creating the domain with virt-install works, but I would like to figure out how to create it the "normal" way. Also, I can't figure out how to add a VNC password when I create the machine with virt-install, but that's another topic.

Here is my config file, adapted from http://www.virtuatopia.com/index.php/Installing_and_Running_Windows_7_as_a_Xen_HVM_domainU_Guest:

===========================================
# cat winxp.cfg

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

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.shadow_memory = 8
name = "winxp"
vif = [ 'type=ioemu, bridge=xenbr0' ]
acpi = 1
apic = 1
disk = [ 'file:/data/xen/domains/disk.img,hda,w', 'file:/data/xpcdsp3.iso,hdc:cdrom,r' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

#---------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="dc"
sdl=0
vnc=1
vncconsole=1
vncpasswd='blah'

serial='pty'
usbdevice='tablet'
===========================================

And here is my error:

===========================================
# xm create ./winxp.cfg
Using config file "././winxp.cfg".
Error: Domain 'winxp' does not exist.
===========================================

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] cannot create domains with xm, Iordan Iordanov <=