I have loaded FC6 with the virtualizations kernel, and I am
attempting to load WinXP. I searched all the logs and docs and configured what
I think is correct based on these. When I do an xm create dfw11286lv1.hvm, I
get the following messages:
Using config file “dfw11286lv1.hvm”.
Started domain dfw1128glv1
However, I never get a window with the installer. Also, when
I open the Virtual Machine Console and double click the domain created, the
subsequent window displays “The console is currently unavailable”
Any help would be appreciated.
My hvm file looks like:
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
shadow_memory = 8
name = "dfw11286lv1"
vcpus=2
acpi=0
apic=0
pae=0
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/virtualroot/winxp.img,hda,w', ',hdc:cdrom,r'
]
on_reboot = 'restart'
on_crash = 'restart'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
cdrom="/root/winxp_and_sp2.iso"
boot="d"
sdl=1
vnc=0
stdvga=0
serial='pty'
Output in xend.log:
[2006-11-01 17:59:36 xend.XendDomainInfo 2862] DEBUG
(XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'dfw11286lv1'],
['memory', 1024], ['shadow_memory', 8], ['on_reboot', 'restart'], ['on_crash',
'restart'], ['vcpus', 2], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'],
['vcpus', 2], ['boot', 'd'], ['serial', 'pty'], ['vncunused', 1], ['sdl', 1],
['display', ':0.0'], ['xauthority', '/tmp/.gdmG03FIT']]], ['device', ['vbd',
['uname', 'file:/virtualroot/winxp.img'], ['dev', 'hda'], ['mode', 'w']]],
['device', ['vbd', ['uname', ''], ['dev', 'hdc:cdrom'], ['mode', 'r']]],
['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]])
[2006-11-01 17:59:36 xend.XendDomainInfo 2862] DEBUG
(XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'dfw11286lv1'],
['memory', 1024], ['shadow_memory', 8], ['on_reboot', 'restart'], ['on_crash',
'restart'], ['vcpus', 2], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'],
['vcpus', 2], ['boot', 'd'], ['serial', 'pty'], ['vncunused', 1], ['sdl', 1],
['display', ':0.0'], ['xauthority', '/tmp/.gdmG03FIT']]], ['device', ['vbd',
['uname', 'file:/virtualroot/winxp.img'], ['dev', 'hda'], ['mode', 'w']]],
['device', ['vbd', ['uname', ''], ['dev', 'hdc:cdrom'], ['mode', 'r']]],
['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]]
[2006-11-01 17:59:36 xend.XendDomainInfo 2862] DEBUG
(XendDomainInfo:395) parseConfig: result is {'shadow_memory': 8, 'uuid': None,
'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image':
['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib64/xen/bin/qemu-dm'], ['vcpus', 2], ['boot', 'd'], ['serial', 'pty'], ['vncunused',
1], ['sdl', 1], ['display', ':0.0'], ['xauthority', '/tmp/.gdmG03FIT']],
'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name':
'dfw11286lv1', 'backend': [], 'vcpus': 2, 'cpu_weight': None, 'features': None,
'vcpu_avail': None, 'memory': 1024, 'device': [('vbd', ['vbd', ['uname',
'file:/virtualroot/winxp.img'], ['dev', 'hda'], ['mode', 'w']]), ('vbd',
['vbd', ['uname', ''], ['dev', 'hdc:cdrom'], ['mode', 'r']]), ('vif', ['vif',
['bridge', 'xenbr0'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None,
'maxmem': None}
[2006-11-01 17:59:36 xend.XendDomainInfo 2862] DEBUG
(XendDomainInfo:1253) XendDomainInfo.construct: None
[2006-11-01 17:59:36 xend.XendDomainInfo 2862] DEBUG
(XendDomainInfo:1285) XendDomainInfo.initDomain: 19 1.0
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args:
boot, val: d
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args: fda,
val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args: fdb,
val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args:
soundhw, val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args:
localtime, val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args:
serial, val: pty
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args:
std-vga, val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args: isa,
val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args:
vcpus, val: 2
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args:
acpi, val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args: usb,
val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (image:379) args:
usbdevice, val: None
[2006-11-01 17:59:36 xend 2862] DEBUG (balloon:127) Balloon:
1071660 KiB free; need 1071516; done.
[2006-11-01 17:59:37 xend 2862] INFO (image:138) buildDomain
os=hvm dom=19 vcpus=2
[2006-11-01 17:59:37 xend 2862] DEBUG (image:338)
dom = 19
[2006-11-01 17:59:37 xend 2862] DEBUG (image:339)
image =
/usr/lib/xen/boot/hvmloader
[2006-11-01 17:59:37 xend 2862] DEBUG (image:340) store_evtchn
= 1
[2006-11-01 17:59:37 xend 2862] DEBUG (image:341)
memsize = 1024
[2006-11-01 17:59:37 xend 2862] DEBUG (image:342)
vcpus = 2
[2006-11-01 17:59:37 xend 2862] DEBUG (image:343)
pae = 0
[2006-11-01 17:59:37 xend 2862] DEBUG (image:344)
acpi = 0
[2006-11-01 17:59:37 xend 2862] DEBUG (image:345)
apic = 0
[2006-11-01 17:59:37 xend 2862] DEBUG (image:467) hvm
shutdown watch registered
[2006-11-01 17:59:37 xend 2862] DEBUG (blkif:24) exception
looking up device number for hda: [Errno 2] No such file or directory:
'/dev/hda'
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:110)
DevController: writing {'backend-id': '0', 'virtual-device': '768',
'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/19/768'}
to /local/domain/19/device/vbd/768.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:112)
DevController: writing {'domain': 'dfw11286lv1', 'frontend':
'/local/domain/19/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/virtualroot/winxp.img',
'mode': 'w', 'online': '1', 'frontend-id': '19', 'type': 'file'} to
/local/domain/0/backend/vbd/19/768.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:110)
DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type':
'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/19/5632'} to
/local/domain/19/device/vbd/5632.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:112)
DevController: writing {'domain': 'dfw11286lv1', 'frontend': '/local/domain/19/device/vbd/5632',
'dev': 'hdc', 'state': '1', 'params': '', 'mode': 'r', 'online': '1',
'frontend-id': '19', 'type': ''} to /local/domain/0/backend/vbd/19/5632.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:110)
DevController: writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vif/19/0'} to /local/domain/19/device/vif/0.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:112)
DevController: writing {'bridge': 'xenbr0', 'domain': 'dfw11286lv1', 'handle':
'0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/19/device/vif/0', 'mac': '00:16:3e:3f:6e:e8', 'online': '1',
'frontend-id': '19', 'type': 'ioemu'} to /local/domain/0/backend/vif/19/0.
[2006-11-01 17:59:37 xend 2862] INFO (image:451) spawning
device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d',
'19', '-m', '1024', '-boot', 'd', '-serial', 'pty', '-vcpus', '2',
'-domain-name', 'dfw11286lv1', '-net',
'nic,vlan=1,macaddr=00:16:3e:41:8e:5b,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0']
[2006-11-01 17:59:37 xend 2862] INFO (image:453) device
model pid: 15972
[2006-11-01 17:59:37 xend.XendDomainInfo 2862] DEBUG
(XendDomainInfo:712) Storing VM details: {'shadow_memory': '8', 'uuid':
'b82c8dc8-1904-a9b5-8abf-39853a6ef8d9', 'on_reboot': 'restart', 'start_time':
'1162425577.41', 'on_poweroff': 'destroy', 'name': 'dfw11286lv1',
'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '1024',
'on_crash': 'restart', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader)
(device_model /usr/lib64/xen/bin/qemu-dm) (vcpus 2) (boot d) (serial pty)
(vncunused 1) (sdl 1) (display :0.0) (xauthority /tmp/.gdmG03FIT))', 'maxmem':
'1024'}
[2006-11-01 17:59:37 xend.XendDomainInfo 2862] DEBUG
(XendDomainInfo:747) Storing domain details: {'console/port': '2', 'name':
'dfw11286lv1', 'console/limit': '1048576', 'vm':
'/vm/b82c8dc8-1904-a9b5-8abf-39853a6ef8d9', 'domid': '19',
'cpu/0/availability': 'online', 'memory/target': '1048576', 'store/ring-ref':
'264844', 'cpu/1/availability': 'online', 'store/port': '1'}
[2006-11-01 17:59:37 xend 2862] DEBUG (image:490)
hvm_shutdown fired, shutdown reason=None
[2006-11-01 17:59:37 xend.XendDomainInfo 2862] DEBUG
(XendDomainInfo:933) XendDomainInfo.handleShutdownWatch
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:143)
Waiting for devices vif.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:149)
Waiting for 0.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vif/19/0/hotplug-status.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vif/19/0/hotplug-status.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:478)
hotplugStatusCallback 1.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:143)
Waiting for devices usb.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:143)
Waiting for devices vbd.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:149)
Waiting for 768.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vbd/19/768/hotplug-status.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vbd/19/768/hotplug-status.
[2006-11-01 17:59:37 xend 2862] DEBUG (DevController:478)
hotplugStatusCallback 1.
[2006-11-01 17:59:38 xend 2862] DEBUG (DevController:149)
Waiting for 5632.
[2006-11-01 17:59:38 xend 2862] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vbd/19/5632/hotplug-status.
[2006-11-01 17:59:38 xend 2862] DEBUG (DevController:478)
hotplugStatusCallback 1.
[2006-11-01 17:59:38 xend 2862] DEBUG (DevController:143)
Waiting for devices irq.
[2006-11-01 17:59:38 xend 2862] DEBUG (DevController:143)
Waiting for devices pci.
[2006-11-01 17:59:38 xend 2862] DEBUG (DevController:143)
Waiting for devices ioports.
[2006-11-01 17:59:38 xend 2862] DEBUG (DevController:143)
Waiting for devices tap.
[2006-11-01 17:59:38 xend 2862] DEBUG (DevController:143)
Waiting for devices vtpm.
[2006-11-01 17:59:38 xend 2862] INFO (XendDomain:370) Domain
dfw11286lv1 (19) unpaused.