Connecting a physical disk with xenstore
hi,
I am trying to get my domU booting with Xenstore. I am using the following script:
vm-create 1
dom=1
vm-memory -m $dom 64m
vm-memory -i $dom 16m
vm-xs \
vm-xs /domain/0/domid 0 \
vm-xs /domain/0/vm 0 \
vm-xs /domain/0/domain 0 \
vm-xs /domain/0/backend [] \
vm-xs /domain/0/device [] \
\
/domain/1/device/vbd/769/virtual-device 769 \
/domain/1/device/vbd/769/backend-id 0 \
/domain/1/device/vbd/769/backend /domain/0/backend/vbd/1/769 \
/domain/0/backend/vbd/1/769/domain ExampleDomain \
/domain/0/backend/vbd/1/769/params hda1 \
/domain/0/backend/vbd/1/769/frontend-id 1 \
/domain/0/backend/vbd/1/769/type phy \
/domain/0/backend/vbd/1/769/read-only \
/domain/0/backend/vbd/1/769/frontend /domain/1/device/vbd/769vm-build.linux -r domUinitrd $dom /vmlinux "root=/dev/ram init=/linuxrc $1 debug console=tty0"
vm-pause -u 1
However, the blkdev probe functions in neither dom0 nor domU are ever called, causing domU to time out on waiting for blkback. I have tried to create the domain with xm/xend where the blockdev works fine. The script above is inspired by the xenstore trace file for that machine, could anyone point out the missing key/values here?
Thanks,
Jacob
--
Save time and bandwidth with EDelta: http://www.diku.dk/~jacobg/edelta/