[libvirt] [PATCH] Fix vlan ID detection in udev interface driver

Dave Allan dallan at redhat.com
Fri Apr 25 21:05:06 UTC 2014


On Fri, Apr 25, 2014 at 08:28:32PM +0300, Laine Stump wrote:
> On 04/25/2014 06:21 PM, Dave Allan wrote:
> > On Thu, Apr 24, 2014 at 03:19:45PM +0200, Ján Tomko wrote:
> >> Instead of guessing it from the interface name, look into
> >> /proc/net/vlan/<interface>.
> >>
> >> This works for devices not named <real_device>.<vlan ID>,
> >> avoiding an error flood when virt-manager keeps asking about
> >> them every second:
> >>
> >> https://bugzilla.redhat.com/show_bug.cgi?id=966329
> > What's the equivalent virsh command that produces the errors?
> 
> virsh iface-dumpxml <some vlan interface named as described>
> 
> Of course this can only be experienced on a system that is built with
> the udev interface driver rather than the netcf interface driver.

Thanks Laine; Jan, your patch fixes the behavior on my system, so ACK
to the functionality.  I didn't do more than a cursory review of the
code, however, so you should wait for another review before pushing.

Dave




More information about the libvir-list mailing list