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 tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-colliding-allocs.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-colliding-monitor.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-colliding-tunes.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-colliding-types.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-extra-tunes.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-small.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune.xml genericxml2xmltest: Modify cachetune test to include id 2021-07-20 16:43:46 +02:00
chardev-reconnect-invalid-mode.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-reconnect-missing-timeout.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-missing-host.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-tcp-missing-service.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-tcp-multiple-source.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-missing-connect-service.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-udp-multiple-source.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-redirdev-missing-path.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-unix-rng-missing-path.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-unix-smartcard-missing-path.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
cpu-cache-disable.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
cpu-cache-emulate.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
cpu-cache-passthrough.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
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 conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
device-backenddomain.xml tests: cover disk, interface <backenddomain> 2020-10-05 12:43:00 -04: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-network-http.xml conf: Add support for setting timeout and readahead size for network disks 2020-03-16 15:51:44 +01:00
disk-virtio.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
fibrechannel-appid.xml conf: introduce support for Fibre Channel VMID 2021-08-17 13:50:38 +02:00
graphics-listen-back-compat-mismatch.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-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 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-mismatch.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
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 conf: prefer camelCase for launchSecurity 2018-06-13 14:42:17 +02:00
memorytune-colliding-allocs.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
memorytune-colliding-cachetune.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
memorytune.xml conf: create memory bandwidth monitor. 2019-12-13 15:55:43 +00:00
name-slash-fail.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
network-interface-mac-check.xml Add a check attribute on the mac address element 2020-07-23 16:11:39 +01:00
network-interface-mac-clear.xml conf: Generate MAC address instead of keeping all zeroes 2023-09-04 16:01:24 +02:00
perf.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
tseg.xml conf, schema, docs: Add support for TSEG size setting 2018-06-08 10:28:46 +02:00
vcpus-individual.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00