[one-users] Xen Windows VM - problem

makhanmail makhanmail at gmail.com
Thu Feb 4 15:30:01 PST 2010


Hi,

I created a Windows VM, but I can't run it successfully under OpenNebula  
1.4
To create it, I used this configuration file:

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'
device_model='/usr/lib/xen/bin/qemu-dm'

# Disks
disk = [ 'file:/kruk/obrazy/xp_xen.img,hda,w',
'file:/kruk/obrazy/en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso,hdc:cdrom,r'  
]

# Hostname
name = 'win02'

# Networking
vif = ['type=ioemu, bridge=xenbr0']

# Behaviour
boot="dc"
vnc=1
vncconsole=1
sdl=0
acpi = 1
apic = 1
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
stdvga=0
serial='pty'
usbdevice='tablet'


What kernel should I use to run this image with OpenNebula?
When I don't specify one, I get error:


More information about the Users mailing list