From mboxrd@z Thu Jan 1 00:00:00 1970 From: ravi kerur Subject: Re: Q on netfront/netback driver Date: Tue, 2 Feb 2010 20:14:53 -0800 Message-ID: References: <20100201173714.GA26825@phenom.dumpdata.com> <20100201211602.GC2756@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1313243496==" Return-path: In-Reply-To: <20100201211602.GC2756@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1313243496== Content-Type: multipart/alternative; boundary=0015175ce094da1e7c047eaa7521 --0015175ce094da1e7c047eaa7521 Content-Type: text/plain; charset=ISO-8859-1 Hi Konrad, I thought Citrix Xenserver is based on Xen kernel and it inherited all of Xen mgmt cli and other tools. I have downloaded source code from http://www.citrix.com/lang/English/lp/lp_1688623.asp and have looked into product cd 1(in which I found netfront and netback source code), product cd 4(probably tools). Unfortunately don't find anything related to /xen/tools/hotplug... Any inputs? Thanks -RK On Mon, Feb 1, 2010 at 1:16 PM, Konrad Rzeszutek Wilk < konrad.wilk@oracle.com> wrote: > > In addition, I had follow-up question on creation of "vif" > interface(this > > is what I was referring to when I mentioned about instantiation of > > netfront/netback), if I were to change this "vif" name to something else, > > which part of the code should be modified. I have been searching for this > > You definitly will need to modify the udev rules and potentially a bunch > of shell scripts in: xen/tools/hotplug/Linux > > If you mean the source code of the kernel, look in > drivers/xen/netback/* files. > .. snip .. > > > > However, I do not see the drivers listed when "lsmod" is executed on > dom0 > > > or > > > > domU. > > > > > > It might be very well compiled in, at which point it is not a module. > > > Look in your .config file for NETBACK. > Ah, I was incorrect. It is CONFIG_XEN_NETDEV_BACKEND. > --0015175ce094da1e7c047eaa7521 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Konrad,

I thought Citrix Xenserver is based on Xen kernel and it = inherited all of Xen mgmt cli and other tools.

I have downloaded so= urce code from http://www.citrix.com/lang/English/lp/lp_1688623.asp
and have looked into product cd 1(in which I found netfront and netback sou= rce code), product cd 4(probably tools). Unfortunately don't find anyth= ing related to /xen/tools/hotplug... Any inputs?

Thanks
-RK

On Mon, Feb 1, 2010 at 1:16 PM, Konrad Rzesz= utek Wilk <k= onrad.wilk@oracle.com> wrote:
> =A0In addition, I had follow-up question on creation= of "vif" interface(this
> is what I was referring to when I mentioned about instantiation of
> netfront/netback), if I were to change this "vif" name to so= mething else,
> which part of the code should be modified. I have been searching for t= his

You definitly will need to modify the udev rules and potentially a bu= nch
of shell scripts in: xen/tools/hotplug/Linux

If you mean the source code of the kernel, look in
drivers/xen/netback/* files.
.. snip ..
> > > However, I do not see the drivers listed w= hen "lsmod" is executed on dom0
> > or
> > > domU.
> >
> > It might be very well compiled in, at which point it is not a mod= ule.
> > Look in your .config file for NETBACK.
Ah, I was incorrect. It is CONFIG_XEN_NETDEV_BACKEND.

--0015175ce094da1e7c047eaa7521-- --===============1313243496== 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 --===============1313243496==--