[PATCH] Add armv6l architecture to list of valid arches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

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@xxxxxxxxxx>
---
 src/util/virarch.c | 1 +
 src/util/virarch.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/util/virarch.c b/src/util/virarch.c
index ffd07dc..8585a78 100644
--- a/src/util/virarch.c
+++ b/src/util/virarch.c
@@ -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 },
diff --git a/src/util/virarch.h b/src/util/virarch.h
index 9cf6ce2..0d8ae25 100644
--- a/src/util/virarch.h
+++ b/src/util/virarch.h
@@ -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 */
-- 
1.8.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]