Максим Барабанов
2009-Dec-02 12:44 UTC
[Xen-users] Unexpected error: <type ''exceptions.OSError''>
Hi
I`m trying to start win2k3R2 in XEN with this config
# grep -v ^# /etc/xen/win2k3.hwm | grep -xv ''''
import os, re
arch = os.uname()[4]
if re.search(''64'', arch):
arch_libdir = ''lib64''
else:
arch_libdir = ''lib''
kernel = "/usr/lib/xen-3.2-1/boot/hvmloader"
builder=''hvm''
memory = 1024
name = "Windows2003"
vcpus=2
vif = [ ''type=ioemu, bridge=br0'' ]
disk = [ ''file:/xen/win/images/windisk.img,ioemu:hda,w'',
''file:/xen/win/images/oradata.img,ioemu:hdc,w'' ]
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
device_model = ''/usr/'' + arch_libdir +
''/xen-3.2-1/bin/qemu-dm''
boot=''c''
vnc=1
vncviewer=1
audio=0
and got this output
Using config file "/etc/xen/win2k3.hwm".
VNC= 1
Unexpected error: <type ''exceptions.OSError''>
Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/bin/xm", line 7, in <module>
main.main(sys.argv)
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2528, in
main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2552, in
_run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1306, in
xm_importcommand
cmd.main([command] + args)
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/create.py", line 1200, in
main
dom = make_domain(opts, config)
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/create.py", line 1063, in
make_domain
os.kill(vncpid, signal.SIGKILL)
OSError: [Errno 3] No such process
Without ''file:/xen/win/images/oradata.img,ioemu:hdc,w'' all
works fine
How can I attach the second hdd image?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
