]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Add armv6l architecture to list of valid arches
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 3 Apr 2013 18:58:27 +0000 (19:58 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Apr 2013 10:07:32 +0000 (11:07 +0100)
The Raspberry Pi runs the armv6l architecture and apparently
people are trying to run libvirt LXC on it. So we should allow
that as a valid arch

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virarch.c
src/util/virarch.h

index ffd07dcabb27ab76d5577056623cba7add323af0..8585a78177c2a19c8e0ba125411b1f814afb4af8 100644 (file)
@@ -35,6 +35,7 @@ static const struct virArchData {
 } virArchData[] = {
     { "none",          0, VIR_ARCH_LITTLE_ENDIAN },
     { "alpha",        64, VIR_ARCH_BIG_ENDIAN },
+    { "armv6l",       32, VIR_ARCH_LITTLE_ENDIAN },
     { "armv7l",       32, VIR_ARCH_LITTLE_ENDIAN },
     { "cris",         32, VIR_ARCH_LITTLE_ENDIAN },
     { "i686",         32, VIR_ARCH_LITTLE_ENDIAN },
index 9cf6ce20ccc1b7a907360c3b5f8e12c1e74a3d98..0d8ae25cadc285ffe33ba59ed9770e25125d2e36 100644 (file)
@@ -27,6 +27,7 @@
 typedef enum {
     VIR_ARCH_NONE,
     VIR_ARCH_ALPHA,        /* Alpha       64 BE http://en.wikipedia.org/wiki/DEC_Alpha */
+    VIR_ARCH_ARMV6L,       /* ARMv6       32 LE http://en.wikipedia.org/wiki/ARM_architecture */
     VIR_ARCH_ARMV7L,       /* ARMv7       32 LE http://en.wikipedia.org/wiki/ARM_architecture */
     VIR_ARCH_CRIS,         /* ETRAX       32 LE http://en.wikipedia.org/wiki/ETRAX_CRIS */
     VIR_ARCH_I686,         /* x86         32 LE http://en.wikipedia.org/wiki/X86 */