Re: [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo

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

 



On Tue, Oct 28, 2008 at 10:08:20AM +0100, ehrhardt@xxxxxxxxxxxxxxxxxx wrote:
> From: Christian Ehrhardt <ehrhardt@xxxxxxxxxxxxxxxxxx>
> 
> 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 <ehrhardt@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
> ---
> 
> [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
 `. `'   aurel32@xxxxxxxxxx         | aurelien@xxxxxxxxxxx
   `-    people.debian.org/~aurel32 | www.aurel32.net
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux