From: "Tian, Kevin" Subject: When is "physical-device" created in xenstore? Date: Tue, 20 Sep 2005 16:36:51 +0800 Message-ID: <571ACEFD467F7749BC50E0A98C17CDD802C0686D@pdsmsx403> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Saw a strange problem. When blkfront writes event channel number and ring-ref to xenstore, the watch registered by blkback is notified. However immediately watch handler in blkback found there's no "physical-device" under xenstore which should refer to major/minor number of device for domU. Then failed to create vbd and finally the connection can't be setup. So my puzzle is, when should physical-device be created? And who creates this item? I searched for name string in whole tools directory to only find instance in block-file/block-phy/block-endb. I configured disk image by /dev/loop0, so ideally block-phy should be used. However I still failed to find where block-phy is invoked. Any clues? Thanks, Kevin