qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo
@ 2008-10-28  9:08 ehrhardt
  2008-11-01  1:00 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: ehrhardt @ 2008-10-28  9:08 UTC (permalink / raw)
  To: kvm-ppc, kvm, avi, qemu-devel; +Cc: ehrhardt, hollisb

From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>

Fix for qemu runtime error. Full error message:
Number of SMP cpus requested (1), exceeds max cpus supported by machine `bamboo' (0)

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
---

[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,
 };

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo
  2008-10-28  9:08 [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo ehrhardt
@ 2008-11-01  1:00 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2008-11-01  1:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: ehrhardt, avi, kvm, kvm-ppc, hollisb

On Tue, Oct 28, 2008 at 10:08:20AM +0100, ehrhardt@linux.vnet.ibm.com wrote:
> From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
> 
> 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@linux.vnet.ibm.com>
> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
> ---
> 
> [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@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-01  1:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28  9:08 [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo ehrhardt
2008-11-01  1:00 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).