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?
I have verified that 4bbe1029f2fb6cd 1c102794951a944 c62fdbd0e6 "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 9c17d665fdc5f0a b74500a14c30627 014c11b2c0 "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?