`multiple matching interfaces found: the MAC address '...' matches multiple interfaces` appearing in logs

Software environment

  • Operating system: Linux mike-kong 6.4.7-arch1-1
  • Architecture: amd64
  • kernel version: 6.4.7
  • libvirt version: 9.5.0
  • Hypervisor and version: QEMU 8.0.3

Description of problem

It's not clear whether this is really causing problems or just filling the logs with trash.

Steps to reproduce

  1. Have multiple host network interfaces with the same MAC address, for example a bond interface shares the MAC address of its slave
  2. See logs like multiple matching interfaces found: the MAC address '8e:2f:2f:2f:97:e4' matches multiple interfaces from libvirt components