All of lore.kernel.org
 help / color / mirror / Atom feed
* static vif/tap names
@ 2009-10-14  5:30 Jim Fehlig
  2009-10-14  6:48 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Fehlig @ 2009-10-14  5:30 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-16  4:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14  5:30 static vif/tap names Jim Fehlig
2009-10-14  6:48 ` Keir Fraser
2009-10-14 18:31   ` Jim Fehlig
2009-10-16  4:54     ` Fischer, Anna

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.