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

[Xen-users] cannot create domains with xm



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


 


Rackspace

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