]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domaincapstest: Use proper input file based on 'variant' in 'fillQemuCaps'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 3 Mar 2025 17:18:06 +0000 (18:18 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 6 Mar 2025 12:04:25 +0000 (13:04 +0100)
commitaf68ab6b267401911db7db97a75cc8bcf4f4766e
tree08af83e4ed523bf48352efbb73ed964c3285aa06
parent107cf9992f505a639f9673c907740534cd4bec6a
domaincapstest: Use proper input file based on 'variant' in 'fillQemuCaps'

The qemu part of 'domaincapstest' supports testing of the '+hvf' variant
of files, but doesn't properly pick the input file. The input file lacks
the variant part thus the wrong file is used.

Propagate the variant and select the correct input file.

Fixes: 738c5bae888cfa72ed359899cf1a41fed9dbb0f5
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/domaincapsdata/qemu_7.0.0-hvf.aarch64+hvf.xml
tests/domaincapsdata/qemu_7.2.0-hvf.x86_64+hvf.xml
tests/domaincapstest.c