qemu: ppc: define maximum SMP limit as 1 for Bamboo
PATCH 1/1 qemu: ppc: define maximum SMP limit as 1 for Bamboo
# HG changeset patch
# User Hollis Blanchard <[email protected]> # Date 1224864170 18000
# Node ID e7d30fcd4f7cf6a64d45e756ff1e1e0a914b7d0d # Parent eed92f318ffa8a2e036a5bd9727f45c59dda5b12
qemu: ppc: define maximum SMP limit as 1 for Bamboo
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 Hollis Blanchard <[email protected]>
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 , };