Comment 1 for bug 1574957

Revision history for this message
Matt Mullins (mokomull) wrote :

I have verified that 4bbe1029f2fb6cd1c102794951a944c62fdbd0e6 "qemu: fix ifindex array reported to systemd" introduced this bug since it added a call to virNetDevGetIndex for all VIR_DOMAIN_NET_TYPE_ETHERNET devices with a known name, even if the device hasn't been created yet. I believe 9c17d665fdc5f0ab74500a14c30627014c11b2c0 "autocreate tap device for ethernet network type" fixes it by creating the tap device in the libvirt process. This commit is included in 1.3.3.

It can be worked-around by calling tunctl outside of libvirt, but it would be cleaner to have libvirt manage the lifetime of the device (by way of holding the /dev/net/tun fd). What needs to happen to get this change included?