[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Q on netfront/netback driver


  • To: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
  • From: ravi kerur <rkerur@xxxxxxxxx>
  • Date: Wed, 3 Feb 2010 15:22:27 -0800
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • Delivery-date: Wed, 03 Feb 2010 15:22:52 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YUiacriOZU10lu+S6WhYOY+IVpBk4K/8NJMKNwWMSjW2+523Wi8HjMW78W6XcnbLeL vXUOMPFTQk4YEwJcSx3U9dJinFNYlkGkcRIIqkqnB8NW7+zdpcNs4E+mzcgv4vpX8G3q hmnZQw263WpqpbaokmUANTfLA8f7sYNi2eqIg=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi Daniel,

Thanks, its becoming clearer now. Follow-up question, is xen-api code is open sourced? at least from the Citrix link below I don't see pointers to xen-api. Inputs ?

Thanks
-Ravi

On Wed, Feb 3, 2010 at 9:43 AM, Daniel Stodden <daniel.stodden@xxxxxxxxxx> wrote:
On Tue, 2010-02-02 at 23:14 -0500, ravi kerur wrote:
> 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?

Backend management in XCP relies much less on hotplug scripts. Of course
there are still callbacks for backend device creation and removal on
xenbus. These events are however mainly bridged to a xenstore update
( The rest is mainly handled by xapi. Main piece of code
would be xen-api/ocaml/xenops/device|hotplug.ml. Backend device shutdown
and subsequent removal is a primary example which works quite
differently.

Daniel

> Thanks
> -RK
>
> On Mon, Feb 1, 2010 at 1:16 PM, Konrad Rzeszutek Wilk
> <konrad.wilk@xxxxxxxxxx> 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.
>



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.