]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
AArch64: Add AArch64 architecture to list of valid arches.
authorPranavkumar Sawargaonkar <pranavkumar@linaro.org>
Tue, 8 Oct 2013 13:49:06 +0000 (19:19 +0530)
committerCole Robinson <crobinso@redhat.com>
Tue, 15 Oct 2013 20:55:11 +0000 (16:55 -0400)
Adding AArch64(ARMv8 64bit) to the current list of valid architectures.

For now, AArch64 name would imply AArch64 LE mode only. In future,
we might have separate names for AArch64 LE and BE.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
src/util/virarch.c
src/util/virarch.h

index 694eba18bb43b8cbb61a55756cb485ba1b7debc1..9e88c68b727063601c00211ed0ca6683cac84eda 100644 (file)
@@ -38,6 +38,7 @@ static const struct virArchData {
     { "armv6l",       32, VIR_ARCH_LITTLE_ENDIAN },
     { "armv7l",       32, VIR_ARCH_LITTLE_ENDIAN },
     { "armv7b",       32, VIR_ARCH_BIG_ENDIAN },
+    { "aarch64",      64, VIR_ARCH_LITTLE_ENDIAN },
 
     { "cris",         32, VIR_ARCH_LITTLE_ENDIAN },
     { "i686",         32, VIR_ARCH_LITTLE_ENDIAN },
index 3530f7c9e682c0402a225b9071290d0d46740c7b..d0bf9d91829ff3922e2caca75d1c8b7e5e589431 100644 (file)
@@ -30,6 +30,7 @@ typedef enum {
     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_ARMV7B,       /* ARMv7       32 BE http://en.wikipedia.org/wiki/ARM_architecture */
+    VIR_ARCH_AARCH64,      /* ARMv8       64 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 */