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

[Xen-devel] static vif/tap names

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] static vif/tap names
From: Jim Fehlig <jfehlig@xxxxxxxxxx>
Date: Tue, 13 Oct 2009 23:30:15 -0600
Delivery-date: Tue, 13 Oct 2009 22:30:44 -0700
Envelope-to: www-data@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081112)
I have received user requests for static vif/tap names.  The use case is
certainly valid: dom0 tools require consistent and predefined names of
virtual network interfaces.

The Xen vifname parameter satisfies this use case for pv vifs, but
emulated vifs are named dynamically, e.g. tapX.Y.  My initial thought
was to honor the vifname parameter when generating the qemu args, but
there are cases when both pv and emulated vifs are created - e.g. when
vif config contains no 'type=' param or when 'type=ioemu'.

Two options I have considered are:

1. Appending vifname, if specified, to "tap" (tap-<vifname>), otherwise
use current dynamic tapX.Y
2. Add a 'tapname=' parameter to vif config.  This would allow
controlling the vif and tap interface names independently.

Is once of these solutions acceptable?  Any alternate suggestions?

Regards,
Jim

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>