[libvirt] [PATCH] ARMHF: CPU Support for armhf.

Chuck Short chuck.short at canonical.com
Thu Jul 12 15:22:41 UTC 2012


On Thu, 12 Jul 2012 17:09:27 +0200
Jiri Denemark <jdenemar at redhat.com> wrote:

> On Thu, Jul 12, 2012 at 10:58:12 -0400, Chuck Short wrote:
> > Adding CPU encoder/decoder for armhf to avoid runtime error
> > messages.
> 
> Can you be more specific about the error messages you are trying to
> fix with this patch?

It allows libvirt to run on highbank arm machines.

> 
> > Signed-off-by: Chuck Short <chuck.short at canonical.com>
> > ---
> >  src/Makefile.am   |    1 +
> >  src/cpu/cpu.c     |    2 ++
> >  src/cpu/cpu_arm.c |   76
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++
> > src/cpu/cpu_arm.h |   32 ++++++++++++++++++++++ 4 files changed,
> > 111 insertions(+) create mode 100644 src/cpu/cpu_arm.c
> >  create mode 100644 src/cpu/cpu_arm.h
> > 
> > diff --git a/src/Makefile.am b/src/Makefile.am
> > index 6c3eaa7..bfe74d3 100644
> > --- a/src/Makefile.am
> > +++ b/src/Makefile.am
> > @@ -567,6 +567,7 @@ CPU_SOURCES
> > =							\
> > cpu/cpu_generic.h cpu/cpu_generic.c		\ cpu/cpu_x86.h
> > cpu/cpu_x86.c cpu/cpu_x86_data.h	\ cpu/cpu_s390.h
> > cpu/cpu_s390.c			\
> > +		cpu/cpu_arm.h cpu/cpu_arm.c
> > \ cpu/cpu_map.h cpu/cpu_map.c cpu/cpu_powerpc.h	\
> >  		cpu/cpu_powerpc.c
> 
> In any case, copy&paste generally doesn't work with patches as
> mailers like to wrap long lines do other ugly things to the patch.
> Thus the patch as you sent it won't apply at all. It's safer to use
> git send-email.
> 
> Jirka

Oops, yeah Ill resend this, Im still getting use to it.

Regards
chuck




More information about the libvir-list mailing list