From: Jonathan Ludlam Subject: Re: XCP: source repo? Date: Sat, 15 May 2010 00:28:15 +0100 Message-ID: <173089CE-C77A-48A9-BA93-3BFD66F421D0@eu.citrix.com> References: <20100422034705.276417191F@kuma.localdomain> <20100512061120.7B36B718E9@kuma.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0072247357==" Return-path: In-Reply-To: <20100512061120.7B36B718E9@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 Cc: "admin@dmarkey.com" , "xen-devel@lists.xensource.com" , "yanghy@cn.fujitsu.com" , Dave Scott List-Id: xen-devel@lists.xenproject.org --===============0072247357== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_173089CEC77A48A9BA933BFD66F421D0eucitrixcom_" --_000_173089CEC77A48A9BA933BFD66F421D0eucitrixcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On 12 May 2010, at 07:11, YAMAMOTO Takashi wrote: having take a quick look at DummySR, i have a question. if __name__ =3D=3D '__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 ignor= e this. Cheers, Jon --_000_173089CEC77A48A9BA933BFD66F421D0eucitrixcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
On 12 May 20= 10, at 07:11, YAMAMOTO Takashi wrote:
<= font class=3D"Apple-style-span" color=3D"#000000">
having take a = quick look at DummySR, i have a question.

   if __na= me__ =3D=3D '__main__':
       SRCom= mand.run(DummySR, DRIVER_INFO)
   else:
  =      SR.registerSR(DummySR)

i understand th= at the SRCommnad.run part is for XMLRPC with
sm_type Executable.  w= hat is the SR.registerSR part for?
i couldn't find any python code which= imports this file.


I don't believ= e the registerSR bit is currently used - you can safely ignore this.
<= div>
Cheers,

Jon

= --_000_173089CEC77A48A9BA933BFD66F421D0eucitrixcom_-- --===============0072247357== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0072247357==--