View Single Post
  #1   (View Single Post)  
Old 11th May 2016
AgustinSainato AgustinSainato is offline
New User
 
Join Date: May 2016
Posts: 5
Default Xen 3.3 Winxp Domu doesn't work

Hi, I'm trying to make Xen 3.3 work in NetBSD 6.1.4 (Xen3_DOM0) in order to virtualize Windows XP for a school project. I have the config file created and the Dom0 configured, however, when I do 'xm create /usr/pkg/etc/xen/win01' the output is:

May 10 18:14:56 xenbackendd[938]: failed to read /local/domain/0/backend/vfb/8/0/script (no such file or directory)

vnd0: unable to open device, error = 16
xbd backend: attach device vnd0d (size 8388608) for domain 8
vnd1: unable to open device, error = 16
xbd backend: attach device vnd1d (size 1414700) for domain 8
May 10 18:14:56 xenbackendd[938] Failed to read /local/domain/0/device-model/8/script (no such file or directory)

Started domain win01

# tap0: detached
May 10 18:14:56 xenbackendd[938] Failed to read /local/domain/0/backend/console/8/0/script (no such file or directory)
May 10 18:14:56 xenbackendd[938] Failed to read /local/domain/0/backend/vfb/8/0/script (no such file or directory)

xbd backend: detach device vnd0d for domain 8
xbd backend: detach device vnd1d for domain 8

After this, I do 'xm list' and there is only the Dom0, so the Dom1 is not created. Does anybody know what should I change in order to avoid the domain crash?

My config file is:

Kernel = "usr/pkg/lib/xen/boot/hvmloader"
Builder='hvm'
Memory = 1024
Name = "win01"
Vif = [ 'type=ioemu, bridge=bridge0' ]
Disk['file:/home/xen/winxp.img,ioemu:hda,w','file:/home/xen/winxp.iso,ioemu:hdb:cdrom,r', ]
Vnc=1
Vncconsole=1
boot='c'
vncdisplay=0
vncunused=0
vncpasswd='password'
Device_model= '/usr/pkg/libexec/qemu-dm'
Usbdevice='tablet'
usb=1

The /etc/rc.conf file has:
XEND=YES
XENBACKENDD=YES

I have already downloaded a Windows Xp iso and saved it into /home/xen

I dont have much knowledge on how to use NetBSD and Xen so any kind of help will be appreciated.

Best regards,
Agustin
Reply With Quote