libvirt/tests/genericxml2xmloutdata
Martin Kletzander e95b81c2fd conf: Generate MAC address instead of keeping all zeroes
When we parse <mac address="00:00:00:00:00:00"/> we keep that in memory
and pass it down to the hypervisor. However, that MAC address is not
strictly valid as it is not marked as locally administered (bit 0x02)
but it is not even globally unique. It is also used for loopback device
on Linux, for example. And QEMU sees such MAC address just as "not
specified" and generates a new one that libvirt does not even know
about. So to make the overall experience better we now generate it if
the supplied one is all clear.

Resolves: https://issues.redhat.com/browse/RHEL-974

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2023-09-04 16:01:24 +02:00
..
cachetune-extra-tunes.xml
chardev-reconnect.xml
chardev-tcp.xml
chardev-udp.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-unix.xml
cputune.xml
disk-hyperv-physical.xml schema: add support for Windows file paths and device names 2020-11-24 18:45:07 +00:00
disk-hyperv-virtual.xml schema: add support for Windows file paths and device names 2020-11-24 18:45:07 +00:00
disk-virtio.xml
graphics-listen-back-compat.xml
graphics-vnc-listen-attr-only.xml
graphics-vnc-listen-element-minimal.xml
graphics-vnc-listen-element-with-address.xml
graphics-vnc-manual-port.xml
graphics-vnc-minimal.xml
graphics-vnc-socket-attr-listen-address.xml
graphics-vnc-socket-attr-listen-socket.xml
graphics-vnc-socket-listen.xml
graphics-vnc-socket.xml
memorytune.xml tests: fix typo in emulator arch name i686 -> i386 2019-12-13 17:52:10 +00:00
network-interface-mac-clear.xml conf: Generate MAC address instead of keeping all zeroes 2023-09-04 16:01:24 +02:00