[libvirt] [ libvirt ] [ PATCH ] Added support for ARMv7 Big Endian

Daniel P. Berrange berrange at redhat.com
Mon Sep 9 09:41:51 UTC 2013


On Thu, Sep 05, 2013 at 05:22:31PM +0530, yogesh tillu 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 at 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 at 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

Your mail client has mangled the patch by wrapping lines. Also sending of
HTML email to development lists is frowned upon.


Just this once, I've manually fixed the problems & applied your patch.

For future either fix your mail client not to mangle patches, or use the
git send-email program for patch submission.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list