KVM: arm64: selftest: Add standalone test checking for KVM's own UUID
authorMarc Zyngier <maz@kernel.org>
Wed, 6 Aug 2025 17:13:41 +0000 (18:13 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 8 Aug 2025 08:30:16 +0000 (01:30 -0700)
commit85acc29f90e0183997dea27277057c9aec2769aa
treee9faf4587d5b5f9dc20ed41a0c42593feba11f5d
parentf1edb159200ad1ef2fc518c7673cb9559a6f8edd
KVM: arm64: selftest: Add standalone test checking for KVM's own UUID

Tinkering with UUIDs is a perilious task, and the KVM UUID gets
broken at times. In order to spot this early enough, add a selftest
that will shout if the expected value isn't found.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Sebastian Ott <sebott@redhat.com>
Link: https://lore.kernel.org/r/20250721130558.50823-1-jackabt.amazon@gmail.com
Link: https://lore.kernel.org/r/20250806171341.1521210-1-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/testing/selftests/kvm/Makefile.kvm
tools/testing/selftests/kvm/arm64/kvm-uuid.c [new file with mode: 0644]