Skip to contentSkip to conversation

qemu: ppc: define maximum SMP limit as 1 for Bamboo

PATCH In review [email protected] 2 participants 2 messages Oct 28, 2008 – Nov 1, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 qemu: ppc: define maximum SMP limit as 1 for Bamboo

From: Christian Ehrhardt <[email protected]>

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

---

[diffstat]

 ppc440_bamboo.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

[diff]

qemu/hw/ppc440_bamboo.c +4 -3
@@ -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,
 };
#1 lore raw
Quoted 4 lines · On Tue, Oct 28, 2008 at 10:08:20AM +0100, [email protected] wrote:

From: Christian Ehrhardt <[email protected]>

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.

Quoted 27 lines

---

[diffstat]

 ppc440_bamboo.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

[diff]

qemu/hw/ppc440_bamboo.c +4 -3
@@ -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,
 };
Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net