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 tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-reconnect.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-tcp.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-udp.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-unix.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cputune.xml conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
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 tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-listen-back-compat.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-listen-attr-only.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-listen-element-minimal.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-listen-element-with-address.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-manual-port.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-minimal.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-socket-attr-listen-address.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-socket-attr-listen-socket.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-socket-listen.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-socket.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
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