[Top][All Lists]
[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 14:04:48 +0100 |
User-agent: |
KMail/1.9.9 |
On Tuesday 23 September 2008, Jes Sorensen wrote:
> Paul Brook wrote:
> > On Tuesday 23 September 2008, Jes Sorensen wrote:
> >> 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.
>
> So what you're saying is that we need to distinguish between number of
> possible CPUs and how many we allow for a given type of emulation? It
> seems to me that using MAX_CPUS to be the maximum possible for an
> architecture is fair and we should then maybe put it into the machine
> description to set the upper limit for actual runtime ones?
Something like that, yes.
Currently there's no real hard limit on the number of CPUs. I'd be nice to
keep it that way if possible.
Paul
- [Qemu-devel] [patch] move MAX_CPUS to cpu.h, Jes Sorensen, 2008/09/23
- Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h, Paul Brook, 2008/09/23
- Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h, Jes Sorensen, 2008/09/23
- Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h, Paul Brook, 2008/09/23
- Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h, Jes Sorensen, 2008/09/23
- Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h,
Paul Brook <=
- Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h, Jes Sorensen, 2008/09/23
- [Qemu-devel] [patch] Introduce per machine based max_cpu variable, Jes Sorensen, 2008/09/25
- Re: [Qemu-devel] [patch] Introduce per machine based max_cpu variable, Anthony Liguori, 2008/09/30
- Re: [Qemu-devel] [patch] Introduce per machine based max_cpu variable, Jes Sorensen, 2008/09/30
- Re: [Qemu-devel] [patch] Introduce per machine based max_cpu variable, Anthony Liguori, 2008/09/30
- Re: [Qemu-devel] [patch] Introduce per machine based max_cpu variable, Jes Sorensen, 2008/09/30
- Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h, M. Warner Losh, 2008/09/23