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 vif interface creation

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Q on vif interface creation
From: ravi kerur <rkerur@xxxxxxxxx>
Date: Mon, 21 Dec 2009 07:49:20 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Dec 2009 07:49:49 -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=MmngESZJaPgYzu0AdlvhVzYZRSi5g+Iyo1eDP9RMbWg=; b=nQoSzioEyosVAxqISem/3xb2DpxjHYNhDFONtpS8lAIdmGSTUZmPM+vtjrUIroXT+n yLUhD0lb6hXz7e/a2TxKkg24kqQBNeK5r1ptSwtn09I7t7x5+99hWiUsrPsWUag26VOs JGEH/Uq1xz2Nhld1Y7kJ7Ygc7Km5tZEPGdktM=
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=brjGUwEXscnaNcEJr8MITJC9SaEa1AMpwjmenM/p0cmngeU00ychGMM5UhQPuMNR01 IW9Fo/WG3gWzagBJDjxKMyKfOoO+ebizsU4FTLOA7nEZRIeaMwuKKaYS8kVCrF1f7pT2 XbPOyFlDdmurqAR2c3spFCB8zwbpvHwgcls88=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091221083405.GG16033@xxxxxxxxxxx>
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: <dfc283f40912202106o2d084eb0tdf8ee85c15b532e1@xxxxxxxxxxxxxx> <20091221083405.GG16033@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello Pasi,


Thanks for your inputs. I do not see "xm" cmd

-bash: xm: command not found

I do see "xe" cmd which has vif-unplug/vif-plug and vif-destroy/vif-create. I detached a vif via unplug and destroyed it. When creating a new vif, I do not see the option of vifname in it

xe help vif-create
command name            : vif-create
        reqd params     : device, network-uuid, vm-uuid
        optional params : mac, mtu
        description     : Create a VIF. Appropriate values for the device are listed in the parameter 'allowed-VIF-devices' on the VM. If specified, the MAC parameter is of the form aa:bb:cc:dd:ee:ff. If MAC is not specified the server will choose an appropriate MAC automatically.

Inputs appreciated.

Thanks
-RK

On Mon, Dec 21, 2009 at 12:34 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Sun, Dec 20, 2009 at 09:06:45PM -0800, ravi kerur wrote:
>    Hello,
>
>    Need inputs on creating "vif" interface with a different name i.e when a
>    domU is installed, vif<dom-id>:<intf-num> is created by default in dom0
>    and domU which then triggers xenbus state-machine and communication is
>    established. We want to change the name to be  "ncr<dom-id>:<intf-num>",
>    the reason being, we are developing our driver specific netfront and
>    netback which will monitor "ncr" to trigger xenbus state-machine. I am not
>    sure where to start in-order to make these changes. Inputs will be very
>    much appreciated.
>

Hello,

You can use the "vifname" option on the vif line.
See "xm create --help_config" for more information.

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>