Allow using armv7l arch in a capability dump. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- tests/testutilshostcpus.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/testutilshostcpus.h b/tests/testutilshostcpus.h index 797f0bbfc6..3359de13a6 100644 --- a/tests/testutilshostcpus.h +++ b/tests/testutilshostcpus.h @@ -131,6 +131,14 @@ static virCPUDef cpuAarch64Data = { .threads = 1, }; +static virCPUDef cpuArmV7lData = { + .type = VIR_CPU_TYPE_HOST, + .arch = VIR_ARCH_ARMV7L, + .sockets = 1, + .cores = 1, + .threads = 1, +}; + static virCPUDef cpuS390Data = { .type = VIR_CPU_TYPE_HOST, .arch = VIR_ARCH_S390X, @@ -196,6 +204,8 @@ testUtilsHostCpusGetDefForArch(virArch arch) return virCPUDefCopy(&cpuS390Data); else if (arch == VIR_ARCH_AARCH64) return virCPUDefCopy(&cpuAarch64Data); + else if (arch == VIR_ARCH_ARMV7L) + return virCPUDefCopy(&cpuArmV7lData); else if (arch == VIR_ARCH_SPARC) return virCPUDefCopy(&cpuSparcData); else if (arch == VIR_ARCH_RISCV64) -- 2.43.0 _______________________________________________ Devel mailing list -- devel@xxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx