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] Q on netfront/netback driver

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Q on netfront/netback driver
From: ravi kerur <rkerur@xxxxxxxxx>
Date: Tue, 2 Feb 2010 20:14:53 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 02 Feb 2010 20:15:13 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=580qqIqCB6BXtPOXdKb2wC1TCl7dsfahSZxBfIWo0wA=; b=DUkMmWjT2WnJy76bbJHFGLwQh3niGNQ+/Gp9z0jz/ZdlFiva/piHX9xjA4l0cI0Eko 7RUhB2K+cW8agaH5b/91ujKC3/2Qa/Bk2nQvF7W1PBiq7dHdwJloi2UfCVAqbJqUWMuI NwV0mczr0jw+JUS2g/w9Aw6r+FlsHFZ4BmTAI=
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=gxynj/yOeFMaRKnO/ZWF4zaqcZLJLsXoSPu2DM5v67bYyekRWhkN1xwpuRSn1kj3Ic j0Vs7C0dF/QH2blDtWWftQWfGelhiJn1xrOA2x6532TGO8QiuD4gXTiQCpdpj0EqRlHP 0nIAJqXjn+88o8Z7qktOFdikMbr7Wb9Uo8hcM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100201211602.GC2756@xxxxxxxxxxxxxxxxxxx>
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: <dfc283f41001310829g6ab5af10q8eb3335c3d90bfce@xxxxxxxxxxxxxx> <20100201173714.GA26825@xxxxxxxxxxxxxxxxxxx> <dfc283f41002011156h1d285f57h128b1c33a40ab123@xxxxxxxxxxxxxx> <20100201211602.GC2756@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@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