Could you please review below patch, I have successfully tested patch on ARM Versatile Express V2P Board.
Date: Thu, 5 Sep 2013 17:07:55 +0530
Subject: [PATCH] [ PATCH ] Added Support for ARMv7 Big Endian
---
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 81558e5..b4e06da 100644
--- a/src/util/virarch.c
+++ b/src/util/virarch.c
@@ -37,6 +37,7 @@ static const struct virArchData {
{ "alpha", 64, VIR_ARCH_BIG_ENDIAN },
{ "armv6l", 32, VIR_ARCH_LITTLE_ENDIAN },
{ "armv7l", 32, VIR_ARCH_LITTLE_ENDIAN },
+ { "armv7b", 32, VIR_ARCH_BIG_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 0d8ae25..dd25679 100644
--- a/src/util/virarch.h
+++ b/src/util/virarch.h
@@ -29,6 +29,7 @@ typedef enum {
--
1.8.1.2
Test Performed:
# virsh nodeinfo
CPU model: armv7b
CPU(s): 1
CPU frequency: 48 MHz
CPU socket(s): 1
Core(s) per socket: 5
Thread(s) per core: 1
NUMA cell(s): 1
Memory size: 1029784 KiB
Regards,
Yogesh Tillu