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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574957

Title:
  Custom interface names with <interface type='ethernet'> does not start
  qemu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1574957/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to