[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 fo
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo |
Date: |
Sat, 1 Nov 2008 02:00:39 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Oct 28, 2008 at 10:08:20AM +0100, address@hidden wrote:
> From: Christian Ehrhardt <address@hidden>
>
> Fix for qemu runtime error. Full error message:
> Number of SMP cpus requested (1), exceeds max cpus supported by machine
> `bamboo' (0)
The default max number of CPU has been set to 1 in revision 5566, so
this patch is not necessary anymore.
> Signed-off-by: Christian Ehrhardt <address@hidden>
> Signed-off-by: Hollis Blanchard <address@hidden>
> ---
>
> [diffstat]
> ppc440_bamboo.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> [diff]
> diff --git a/qemu/hw/ppc440_bamboo.c b/qemu/hw/ppc440_bamboo.c
> --- a/qemu/hw/ppc440_bamboo.c
> +++ b/qemu/hw/ppc440_bamboo.c
> @@ -203,7 +203,8 @@ void bamboo_init(ram_addr_t ram_size, in
> }
>
> QEMUMachine bamboo_machine = {
> - "bamboo",
> - "bamboo",
> - bamboo_init,
> + .name = "bamboo",
> + .desc = "bamboo",
> + .init = bamboo_init,
> + .max_cpus = 1,
> };
>
>
>
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net