[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Connecting a physical disk with xenstore


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Jacob Gorm Hansen <jacobg@xxxxxxx>
  • Date: Thu, 29 Sep 2005 19:36:00 +0200
  • Delivery-date: Thu, 29 Sep 2005 17:33:40 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ujno2D9qHWNvWd3p1IC3K7wqlX1MY8Dbb8VddAfoP8tsS8VDeO1R5Ps8CivFDseyZXybFBfktcF5Amtp1Ba0t+g+GgGq+WTVw1QmHIi7p8i3JwXxgCqGGm+/FwS1boZdMX6y2WfCMRCLLF+SUKz5d+XCTas9d9FxyF+5SkVtgn8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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/769

vm-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/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.