Q on vif interface creation
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.
Thanks
-RK
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 11 lines · ravi kerur
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
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
Quoted 18 lines · Pasi Kärkkäinen
Quoted 3 lines · ravi kerur
Hello,
Need inputs on creating "vif" interface with a different name i.e when
a
Quoted 1 line
domU is installed, vif<dom-id>:<intf-num> is created by default in
dom0
Quoted 2 lines
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>",
Quoted 2 lines
the reason being, we are developing our driver specific netfront and netback which will monitor "ncr" to trigger xenbus state-machine. I am
not
Quoted 1 line
sure where to start in-order to make these changes. Inputs will be
very
Quoted 2 lines
much appreciated.
Quoted 8 lines
Hello,
You can use the "vifname" option on the vif line. See "xm create --help_config" for more information.
-- Pasi
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 6 lines · ravi kerur
Hello Pasi,
Thanks for your inputs. I do not see "xm" cmd
-bash: xm: command not found
Oh, I was assuming you run the "normal" Xen, but it seems you have either XenServer or XCP.
I'm not sure if xe supports that option.
-- Pasi