[CentOS-virt] Xen custom vifname

Sarah Newman srn at prgmr.com
Tue Apr 5 21:49:43 UTC 2016

On 04/05/2016 01:42 PM, Peter Braun wrote:
> Hi,
> Centos 7
> Xen4CentOS - 4.6.1
> Open vSwitch
> When i specify custom name of the domU NIC than it refues to start
> vif = [ 'vifname=vNIC1' ]
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-openvswitch online [10168] exited with error status 1
> libxl: error: libxl_device.c:1084:device_hotplug_child_death_cb: script: ip link set vif38.0 name vNIC1 failed
> libxl: error: libxl_create.c:1381:domcreate_attach_vtpms: unable to add nic devices
> libxl: error: libxl.c:1591:libxl__destroy_domid: non-existant domain 38
> libxl: error: libxl.c:1549:domain_destroy_callback: unable to destroy guest with domid 38
> libxl: error: libxl.c:1476:domain_destroy_cb: destruction of domain 38 failed
> When removed the vifname settings the domU starts just fine.
> vif = [ '' ]
> Same error when used wi classic Bridge for networking.

Can you add set -x to capture the output from the scripts?

It's not possible to change the name while the interface is in use. Maybe something is making the interface active before there's a chance to change
the name? Do you have network manager or anything like it running? I think there would be logs in /var/log/messages if it was doing something with the

More information about the CentOS-virt mailing list