hi, is there publically available source code repository which contains files under xcp''s /opt? i looked at the following repos but no luck. xen-api.hg xen-api-libs.hg xen-dist-ocaml.hg xen-3.4-testing.hg xen-unstable.hg i''m particularly interested in /opt/xensource/sm/*. thanks. YAMAMOTO Takashi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
/opt/xensource/sm/* contains python scripts which are not compiled. On 20 April 2010 07:02, YAMAMOTO Takashi <yamamoto@valinux.co.jp> wrote:> hi, > > is there publically available source code repository > which contains files under xcp''s /opt? > i looked at the following repos but no luck. > > xen-api.hg > xen-api-libs.hg > xen-dist-ocaml.hg > xen-3.4-testing.hg > xen-unstable.hg > > i''m particularly interested in /opt/xensource/sm/*. > > thanks. > > YAMAMOTO Takashi > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
Hi, One of the next items on my to-do list is to create a new repo "xen-sm.hg" which will contain everything in /opt/xensource/sm/* I''ll try to do that over the next few weeks. As David says, the sources are all present and the files should all have proper license info (LGPL). Feel free to send patches via xen-api@lists. Cheers, Dave From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David Markey Sent: 20 April 2010 07:15 To: YAMAMOTO Takashi Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] XCP: source repo? /opt/xensource/sm/* contains python scripts which are not compiled. On 20 April 2010 07:02, YAMAMOTO Takashi <yamamoto@valinux.co.jp<mailto:yamamoto@valinux.co.jp>> wrote: hi, is there publically available source code repository which contains files under xcp''s /opt? i looked at the following repos but no luck. xen-api.hg xen-api-libs.hg xen-dist-ocaml.hg xen-3.4-testing.hg xen-unstable.hg i''m particularly interested in /opt/xensource/sm/*. thanks. YAMAMOTO Takashi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com<mailto:Xen-devel@lists.xensource.com> lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
hi,> Hi, > > One of the next items on my to-do list is to create a new repo "xen-sm.hg" which will contain everything in /opt/xensource/sm/* I''ll try to do that over the next few weeks. > > As David says, the sources are all present and the files should all have proper license info (LGPL). Feel free to send patches via xen-api@lists.ok. thanks. i want to add another storage backend. is /opt/xensource/sm/* a correct place to look at? YAMAMOTO Takashi> > Cheers, > Dave > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David Markey > Sent: 20 April 2010 07:15 > To: YAMAMOTO Takashi > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] XCP: source repo? > > /opt/xensource/sm/* contains python scripts which are not compiled. > > > On 20 April 2010 07:02, YAMAMOTO Takashi <yamamoto@valinux.co.jp<mailto:yamamoto@valinux.co.jp>> wrote: > hi, > > is there publically available source code repository > which contains files under xcp''s /opt? > i looked at the following repos but no luck. > > xen-api.hg > xen-api-libs.hg > xen-dist-ocaml.hg > xen-3.4-testing.hg > xen-unstable.hg > > i''m particularly interested in /opt/xensource/sm/*. > > thanks. > > YAMAMOTO Takashi > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com<mailto:Xen-devel@lists.xensource.com> > lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
Hi YAMAMOTO, YAMAMOTO Takashi wrote:> hi, > >> Hi, >> >> One of the next items on my to-do list is to create a new repo "xen-sm.hg" which will contain everything in /opt/xensource/sm/* I''ll try to do that over the next few weeks. >> >> As David says, the sources are all present and the files should all have proper license info (LGPL). Feel free to send patches via xen-api@lists. > > ok. thanks. > > 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.> > YAMAMOTO Takashi > >> Cheers, >> Dave >> >> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David Markey >> Sent: 20 April 2010 07:15 >> To: YAMAMOTO Takashi >> Cc: xen-devel@lists.xensource.com >> Subject: Re: [Xen-devel] XCP: source repo? >> >> /opt/xensource/sm/* contains python scripts which are not compiled. >> >> >> On 20 April 2010 07:02, YAMAMOTO Takashi <yamamoto@valinux.co.jp<mailto:yamamoto@valinux.co.jp>> wrote: >> hi, >> >> is there publically available source code repository >> which contains files under xcp''s /opt? >> i looked at the following repos but no luck. >> >> xen-api.hg >> xen-api-libs.hg >> xen-dist-ocaml.hg >> xen-3.4-testing.hg >> xen-unstable.hg >> >> i''m particularly interested in /opt/xensource/sm/*. >> >> thanks. >> >> YAMAMOTO Takashi >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com<mailto:Xen-devel@lists.xensource.com> >> lists.xensource.com/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > lists.xensource.com/xen-devel > >-- Regards Yang Hongyang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
hi,>> 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.thanks. is there any SR-driver-howto documentation except the source code? YAMAMOTO Takashi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
> hi, > > >> 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. > > 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 one 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-introduce'' ''xe vdi-forget'' are called from udev scripts) and then maybe extSR: vhds on local storage. Cheers, Dave _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
hi,>> hi, >> >> >> 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. >> >> 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 one 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-introduce'' ''xe vdi-forget'' are called from udev scripts) > and then maybe extSR: vhds on local storage.thanks. i''ll take a look. YAMAMOTO Takashi> > Cheers, > Dave_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
hi,> hi, > >>> hi, >>> >>> >> 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. >>> >>> 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 one 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-introduce'' ''xe vdi-forget'' are called from udev scripts) >> and then maybe extSR: vhds on local storage. > > thanks. i''ll take a look. > > YAMAMOTO Takashihaving take a quick look at DummySR, i have a question. if __name__ == ''__main__'': SRCommand.run(DummySR, DRIVER_INFO) else: SR.registerSR(DummySR) i understand that the SRCommnad.run part is for XMLRPC with sm_type Executable. what is the SR.registerSR part for? i couldn''t find any python code which imports this file. YAMAMOTO Takashi> >> >> Cheers, >> Dave_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
On 12 May 2010, at 07:11, YAMAMOTO Takashi wrote: having take a quick look at DummySR, i have a question. if __name__ == ''__main__'': SRCommand.run(DummySR, DRIVER_INFO) else: SR.registerSR(DummySR) i understand that the SRCommnad.run part is for XMLRPC with sm_type Executable. what is the SR.registerSR part for? i couldn''t find any python code which imports this file. I don''t believe the registerSR bit is currently used - you can safely ignore this. Cheers, Jon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel