WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] XCP: source repo?

To: YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] XCP: source repo?
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Sat, 15 May 2010 00:28:15 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "admin@xxxxxxxxxxx" <admin@xxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "yanghy@xxxxxxxxxxxxxx" <yanghy@xxxxxxxxxxxxxx>, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Delivery-date: Fri, 14 May 2010 16:29:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100512061120.7B36B718E9@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100422034705.276417191F@xxxxxxxxxxxxxxxx> <20100512061120.7B36B718E9@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrzvSGbsD9DF7S/Rq27ae87gHCQtw==
Thread-topic: [Xen-devel] XCP: source repo?

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>