Hi, all
I'm using NBD to install HVM in xen 3.4.0, the following is my HVM config
file.
#cat /etc/xen/hvm1conf
import os, re
arch_libdir = 'lib'
arch = os.uname()[4]
if os.uname()[0] == 'Linux' and re.search('64', arch):
arch_libdir = 'lib64'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
name = "hvm1"
vif = [ 'type=ioemu, bridge=eth0' ]
disk = [ 'file:/home/chenpeng/tmp/hvm1disk,hda,w', 'nbd:192.168.1.109 9000,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="d"
sdl=0
opengl=1
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
vncpasswd=''
stdvga=0
serial='pty'
usb=1
usbdevice='mouse'
usbdevice='tablet'
On my nbd-server, I have exported an iso file on port 9000.
When I type #xm cr /etc/xen/hvm1conf, I got the following error
message.
Error: Device 5632 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected.
2009-08-31
Chen Peng
|