mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
lxc: associate armv7l as 32-bit variant of aarch64
AArch64 kernels are technically capable of running armv7l binaries. Though some vendors disable this feature during kernel build, we need to allow it in LXC. Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
This commit is contained in:
parent
c1b9fcde5c
commit
38063555c8
@ -2285,6 +2285,8 @@ virArch lxcContainerGetAlt32bitArch(virArch arch)
|
|||||||
return VIR_ARCH_MIPS;
|
return VIR_ARCH_MIPS;
|
||||||
if (arch == VIR_ARCH_MIPS64EL)
|
if (arch == VIR_ARCH_MIPS64EL)
|
||||||
return VIR_ARCH_MIPSEL;
|
return VIR_ARCH_MIPSEL;
|
||||||
|
if (arch == VIR_ARCH_AARCH64)
|
||||||
|
return VIR_ARCH_ARMV7L;
|
||||||
|
|
||||||
return VIR_ARCH_NONE;
|
return VIR_ARCH_NONE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user