# HG changeset patch # User Hollis Blanchard <hollisb@xxxxxxxxxx> # 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 <hollisb@xxxxxxxxxx> 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, }; -- 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