Hi All,
Could you please let me know to whom should I contact to review this
patch and for approval to get into this into libvirt repository.
Thanks,
Yogesh
On Thu, Sep 5, 2013 at 5:22 PM, yogesh tillu <tillu.yogesh(a)gmail.com> wrote:
Hi All,
Could you please review below patch, I have successfully tested patch
on ARM Versatile Express V2P Board.
From: Yogesh Tillu <tillu.yogesh(a)gmail.com>
Date: Thu, 5 Sep 2013 17:07:55 +0530
Subject: [PATCH] [ PATCH ] Added Support for ARMv7 Big Endian
Signed-off-by: Yogesh Tillu <tillu.yogesh(a)gmail.com>
---
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 {
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_ARMV7B, /* ARMv7 32 BE
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.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