All of lore.kernel.org
 help / color / mirror / Atom feed
* XCP: source repo?
@ 2010-04-20  6:02 YAMAMOTO Takashi
  2010-04-20  7:15 ` David Markey
  0 siblings, 1 reply; 10+ messages in thread
From: YAMAMOTO Takashi @ 2010-04-20  6:02 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: XCP: source repo?
  2010-04-20  6:02 XCP: source repo? YAMAMOTO Takashi
@ 2010-04-20  7:15 ` David Markey
  2010-04-20 17:07   ` Dave Scott
  0 siblings, 1 reply; 10+ messages in thread
From: David Markey @ 2010-04-20  7:15 UTC (permalink / raw)
  To: YAMAMOTO Takashi; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 662 bytes --]

/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
> http://lists.xensource.com/xen-devel
>

[-- Attachment #1.2: Type: text/html, Size: 1123 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: XCP: source repo?
  2010-04-20  7:15 ` David Markey
@ 2010-04-20 17:07   ` Dave Scott
  2010-04-21  2:37     ` YAMAMOTO Takashi
  0 siblings, 1 reply; 10+ messages in thread
From: Dave Scott @ 2010-04-20 17:07 UTC (permalink / raw)
  To: 'admin@dmarkey.com', YAMAMOTO Takashi; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1314 bytes --]

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>
http://lists.xensource.com/xen-devel


[-- Attachment #1.2: Type: text/html, Size: 8005 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: XCP: source repo?
  2010-04-20 17:07   ` Dave Scott
@ 2010-04-21  2:37     ` YAMAMOTO Takashi
  2010-04-21  3:04       ` Yang Hongyang
  0 siblings, 1 reply; 10+ messages in thread
From: YAMAMOTO Takashi @ 2010-04-21  2:37 UTC (permalink / raw)
  To: Dave.Scott; +Cc: admin, 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>
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: XCP: source repo?
  2010-04-21  2:37     ` YAMAMOTO Takashi
@ 2010-04-21  3:04       ` Yang Hongyang
  2010-04-21  6:47         ` YAMAMOTO Takashi
  0 siblings, 1 reply; 10+ messages in thread
From: Yang Hongyang @ 2010-04-21  3:04 UTC (permalink / raw)
  To: YAMAMOTO Takashi; +Cc: admin, xen-devel, Dave.Scott

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>
>> http://lists.xensource.com/xen-devel
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 
> 


-- 
Regards
Yang Hongyang

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: XCP: source repo?
  2010-04-21  3:04       ` Yang Hongyang
@ 2010-04-21  6:47         ` YAMAMOTO Takashi
  2010-04-21 19:54           ` Dave Scott
  0 siblings, 1 reply; 10+ messages in thread
From: YAMAMOTO Takashi @ 2010-04-21  6:47 UTC (permalink / raw)
  To: yanghy; +Cc: admin, xen-devel, Dave.Scott

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: XCP: source repo?
  2010-04-21  6:47         ` YAMAMOTO Takashi
@ 2010-04-21 19:54           ` Dave Scott
  2010-04-22  3:47             ` YAMAMOTO Takashi
  0 siblings, 1 reply; 10+ messages in thread
From: Dave Scott @ 2010-04-21 19:54 UTC (permalink / raw)
  To: 'YAMAMOTO Takashi', yanghy; +Cc: admin, 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: XCP: source repo?
  2010-04-21 19:54           ` Dave Scott
@ 2010-04-22  3:47             ` YAMAMOTO Takashi
  2010-05-12  6:11               ` YAMAMOTO Takashi
  0 siblings, 1 reply; 10+ messages in thread
From: YAMAMOTO Takashi @ 2010-04-22  3:47 UTC (permalink / raw)
  To: Dave.Scott; +Cc: admin, yanghy, 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: XCP: source repo?
  2010-04-22  3:47             ` YAMAMOTO Takashi
@ 2010-05-12  6:11               ` YAMAMOTO Takashi
  2010-05-14 23:28                 ` Jonathan Ludlam
  0 siblings, 1 reply; 10+ messages in thread
From: YAMAMOTO Takashi @ 2010-05-12  6:11 UTC (permalink / raw)
  To: Dave.Scott; +Cc: admin, yanghy, 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 Takashi

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.

YAMAMOTO Takashi

> 
>> 
>> Cheers,
>> Dave

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: XCP: source repo?
  2010-05-12  6:11               ` YAMAMOTO Takashi
@ 2010-05-14 23:28                 ` Jonathan Ludlam
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Ludlam @ 2010-05-14 23:28 UTC (permalink / raw)
  To: YAMAMOTO Takashi; +Cc: admin, xen-devel, yanghy, Dave Scott


[-- Attachment #1.1: Type: text/plain, Size: 517 bytes --]


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


[-- Attachment #1.2: Type: text/html, Size: 978 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-05-14 23:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20  6:02 XCP: source repo? YAMAMOTO Takashi
2010-04-20  7:15 ` David Markey
2010-04-20 17:07   ` Dave Scott
2010-04-21  2:37     ` YAMAMOTO Takashi
2010-04-21  3:04       ` Yang Hongyang
2010-04-21  6:47         ` YAMAMOTO Takashi
2010-04-21 19:54           ` Dave Scott
2010-04-22  3:47             ` YAMAMOTO Takashi
2010-05-12  6:11               ` YAMAMOTO Takashi
2010-05-14 23:28                 ` Jonathan Ludlam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.