qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h


From: Paul Brook
Subject: Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h
Date: Tue, 23 Sep 2008 13:50:33 +0100
User-agent: KMail/1.9.9

On Tuesday 23 September 2008, Jes Sorensen wrote:
> >>>>> "Paul" == Paul Brook <address@hidden> writes:
>
> Paul> On Tuesday 23 September 2008, Jes Sorensen wrote:
> >> Index: qemu/target-arm/cpu.h
> >> ===================================================================
> >> --- qemu.orig/target-arm/cpu.h +++ qemu/target-arm/cpu.h +#define
> >> MAX_CPUS 1
>
> Paul> Anything using the value to allocate per-cpu structures will be
> Paul> wrong.
>
> What do you mean? There's plenty places where you will want to only
> allocate enough space for the number of cpus you want to support.

Some ARM boards have 4 cpus, they just don't use the -smp option.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]