[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] net: Allow specifying ifname for qemu-bridge-he
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] net: Allow specifying ifname for qemu-bridge-helper |
Date: |
Fri, 30 Nov 2012 15:32:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Il 30/11/2012 11:02, Michael Tokarev ha scritto:
>> I do like the idea of using a common prefix for the default name
>> of tap devices. Something like "qvif%d" instead of "tap%d" in tap
>> initialization code. But something tells me this could break
>> compatibility with external management software where something
>> might be expecting the interface name to start with tap.
>
> Does any management interface use this bridge-helper functionality?
Libvirt uses it if you're running libvirtd without privileges. GNOME
Boxes is a 1-line patch away from using it, but it's Fedora-specific and
not included in any distro.
Paolo
> If it were me, I'd always created the tap fd in the management layer
> and passed the tap fd# (or at least ifname= of an existing iface) to
> qemu. Bridge helper is useful for users calling qemu directly, not
> for management software. Sure, such users are also important -
> including compatibility. But I don't think current unpredictable
> tapNN names was a good idea to start with, and that it's good idea to
> rely on this prefix in firewall rules or whatnot.