From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Scott Subject: RE: XCP: source repo? Date: Wed, 21 Apr 2010 20:54:11 +0100 Message-ID: <81A73678E76EA642801C8F2E4823AD2159CF1EFB5E@LONPMAILBOX01.citrite.net> References: <4BCE6B46.6010408@cn.fujitsu.com> <20100421064727.D372D7191E@kuma.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100421064727.D372D7191E@kuma.localdomain> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: 'YAMAMOTO Takashi' , "yanghy@cn.fujitsu.com" Cc: "admin@dmarkey.com" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org > hi, >=20 > >> i want to add another storage backend. > >> is /opt/xensource/sm/* a correct place to look at? > > > > Yes.I think it is the correct place to place your sm driver in. > > Make sure your driver name endswith SR. >=20 > thanks. is there any SR-driver-howto documentation except the source > code? I think the source code is the best we've got atm. I recommend looking at o= ne of the simpler SRs first e.g. DummySR: this is a "pretend" SR, used for testing udevSR: represents block devices hotplugged into the host ('xe vdi-introdu= ce' 'xe vdi-forget' are called from udev scripts) and then maybe extSR: vhds on local storage. Cheers, Dave