libvirt/tests/genericxml2xmlindata
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-cdp.xml
cachetune-colliding-allocs.xml
cachetune-colliding-monitor.xml
cachetune-colliding-tunes.xml
cachetune-colliding-types.xml
cachetune-extra-tunes.xml
cachetune-small.xml
cachetune.xml genericxml2xmltest: Modify cachetune test to include id 2021-07-20 16:43:46 +02:00
chardev-reconnect-invalid-mode.xml
chardev-reconnect-missing-timeout.xml
chardev-reconnect.xml
chardev-tcp-missing-host.xml
chardev-tcp-missing-service.xml
chardev-tcp-multiple-source.xml
chardev-tcp.xml
chardev-udp-missing-connect-service.xml
chardev-udp-multiple-source.xml
chardev-udp.xml
chardev-unix-redirdev-missing-path.xml
chardev-unix-rng-missing-path.xml
chardev-unix-smartcard-missing-path.xml
chardev-unix.xml
cpu-cache-disable.xml
cpu-cache-emulate.xml
cpu-cache-passthrough.xml
cpu-phys-bits-emulate.xml conf: Add support for specifying CPU max physical address size 2022-08-04 09:04:07 +02:00
cpu-phys-bits-passthrough.xml conf: Add support for specifying CPU max physical address size 2022-08-04 09:04:07 +02:00
cputune.xml
device-backenddomain.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-network-http.xml
disk-virtio.xml
fibrechannel-appid.xml conf: introduce support for Fibre Channel VMID 2021-08-17 13:50:38 +02:00
graphics-listen-back-compat-mismatch.xml
graphics-listen-back-compat.xml
graphics-listen-network-invalid.xml tests: Add test for missing network attribute in graphics' listen element 2022-05-04 16:11:43 +02:00
graphics-vnc-autoport-no.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-mismatch.xml
graphics-vnc-socket-attr-listen-socket.xml
graphics-vnc-socket-listen.xml
graphics-vnc-socket.xml
iothreadids.xml conf, schema: Switch iothread/poll values to unsignedLong 2023-09-04 10:07:54 +02:00
launch-security-s390-pv.xml conf: Add s390-pv as launch security type 2021-07-21 13:30:25 +02:00
launch-security-sev.xml
memorytune-colliding-allocs.xml
memorytune-colliding-cachetune.xml
memorytune.xml
name-slash-fail.xml
network-interface-mac-check.xml
network-interface-mac-clear.xml conf: Generate MAC address instead of keeping all zeroes 2023-09-04 16:01:24 +02:00
perf.xml
tseg.xml
vcpus-individual.xml