]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxmlconftest: add tests for new hardware UUID (hwuuid) element
authorMark Cave-Ayland <mark.caveayland@nutanix.com>
Fri, 18 Jul 2025 08:44:39 +0000 (09:44 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 1 Aug 2025 17:26:33 +0000 (18:26 +0100)
commitabe8d89dafb446d386b1bd60c38551782d0b1723
tree229c01273340eb31ebc127487685907995610e78
parent5d2235ff45103f75a650313a7e7824f105cb8397
qemuxmlconftest: add tests for new hardware UUID (hwuuid) element

Add new 'hwuuid' and 'hwuuid-smbios-uuid-match' tests to verify that the new
hardware UUID (hwuuid) element is working as intended.

In particular the 'hwuuid-smbios-uuid-match' test is designed to ensure that
the hwuuid and smbios UUIDs are always identical, similar to the existing logic
works for the domain UUID and the smbios UUID.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
tests/qemuxmlconfdata/hwuuid-smbios-uuid-match.x86_64-latest.err [new file with mode: 0644]
tests/qemuxmlconfdata/hwuuid-smbios-uuid-match.xml [new file with mode: 0644]
tests/qemuxmlconfdata/hwuuid.x86_64-latest.args [new file with mode: 0644]
tests/qemuxmlconfdata/hwuuid.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlconfdata/hwuuid.xml [new file with mode: 0644]
tests/qemuxmlconftest.c