mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
testutilshostcpus: Add support for VIR_ARCH_ARMV7L
Allow using armv7l arch in a capability dump. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
bb932e2c15
commit
5d8648b1ba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user