Can anyone tell me what is wrong with my syntax?
disk = ‘file:/home/seb/xen/xenwin7.img,/dev/sda7,w’,
‘file:/home/seb/xen/Windows.iso,/dev/sr0,r’ ]
in my terminal:
xm create xenwin7.cfg
Using config file “./xenwin7.cfg”.
Error: Block device must have “phy”, “file” or “tap” specified to type
The complete xenwinxp.cfg is here:
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 = 512
shadow_memory = 8
name = “xenhvm”
vif = ‘type=ioemu, bridge=xenbr0’ ]
#vif = ‘’, ‘bridge=xenbr0’ ]
#vif = ‘’ ]
disk = ‘file:/home/seb/xen/xenwinxp.img,/dev/sda7,w’,
‘file:/home/seb/xen/Windows.iso,/dev/sr0,r’ ]
#‘file:/home/seb/xen/Windows.iso,/dev/sr0,r’ ]
boot on floppy (a), hard disk (c) or CD-ROM (d)
default: hard disk, cd-rom, floppy
boot=“dc”
vnc = 1
sdl = 0
#vncconsole=1
acpi = 1
apic = 1
device_model = ‘/usr/’ + arch_libdir + ‘/xen/bin/qemu-dm’
stdvga=0
serial=‘pty’
usbdevice=‘tablet’