From: Matwey V. Kornilov Date: Fri, 24 Feb 2017 14:11:52 +0000 (+0300) Subject: lxc: associate armv7l as 32-bit variant of aarch64 X-Git-Tag: v3.2.0-rc1~374 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=38063555c8e7b73ed1ab99b36d5084c0093ae8bd;p=thirdparty%2Flibvirt.git 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 --- diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index e306b6e582..a9363421f8 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -2285,6 +2285,8 @@ virArch lxcContainerGetAlt32bitArch(virArch arch) return VIR_ARCH_MIPS; if (arch == VIR_ARCH_MIPS64EL) return VIR_ARCH_MIPSEL; + if (arch == VIR_ARCH_AARCH64) + return VIR_ARCH_ARMV7L; return VIR_ARCH_NONE; }