From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: vif-bridge: ip link set failed, "name" too long Date: Thu, 25 Jun 2015 12:53:39 +0100 Message-ID: <1435233219.32500.53.camel@citrix.com> References: <20150625113648.GK3393@perard.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150625113648.GK3393@perard.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Anthony PERARD Cc: Jim Fehlig , Xen Devel List-Id: xen-devel@lists.xenproject.org On Thu, 2015-06-25 at 12:36 +0100, Anthony PERARD wrote: > Error: argument "tap695cf459-b0-emu" is wrong: "name" too long Under Linux IFNAMSIZ is 16, whereas this is 18 characters. Since our suffix is "-emu" we are adding 4 to the original 14, so we could/should pick a 2 character suffix to distinguish PV from emulated interfaces. "-e" perhaps? It looks like the suffix is in both tools/hotplug/Linux/vif-common.sh and tools/libxl/libxl_internal.h:TAP_DEVICE_SUFFIX. We could perhaps arrange somehow that only the hotplug scripts needed to know this, allowing this to be a more localised decision but it would no doubt involve a bunch of faff. I'm inclined to suggest we just change the suffix globally. Ian.