On Tue, Dec 11, 2012 at 02:53:36PM +, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Introduce a 'virArch' enum for CPU architectures. Include
> data type providing wordsize and endianness, and APIs to
> query this info and convert to/from enum and string form.
It'd be so nice if
On Tue, Dec 18, 2012 at 10:24:06AM +0100, Jiri Denemark wrote:
> On Tue, Dec 11, 2012 at 14:53:36 +, Daniel P. Berrange wrote:
> > +virArch virArchFromHost(void)
> > +{
> > +struct utsname ut;
> > +virArch arch;
> > +
> > +uname(&ut);
> > +
> > +/* Some special cases we need to
On Tue, Dec 18, 2012 at 10:24:06AM +0100, Jiri Denemark wrote:
> On Tue, Dec 11, 2012 at 14:53:36 +, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > Introduce a 'virArch' enum for CPU architectures. Include
> > data type providing wordsize and endianness, and APIs to
> > quer
On Tue, Dec 11, 2012 at 14:53:36 +, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Introduce a 'virArch' enum for CPU architectures. Include
> data type providing wordsize and endianness, and APIs to
> query this info and convert to/from enum and string form.
...
> diff --git a/sr
On 12/11/2012 07:53 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Introduce a 'virArch' enum for CPU architectures. Include
> data type providing wordsize and endianness, and APIs to
> query this info and convert to/from enum and string form.
>
> Signed-off-by: Daniel P. Berrang
From: "Daniel P. Berrange"
Introduce a 'virArch' enum for CPU architectures. Include
data type providing wordsize and endianness, and APIs to
query this info and convert to/from enum and string form.
Signed-off-by: Daniel P. Berrange
---
src/Makefile.am| 1 +
src/util/virarch.c | 177 +++