From: Hollis Blanchard Date: Fri, 24 Oct 2008 16:17:10 +0000 Subject: [PATCH 2 of 3] qemu: ppc: define maximum SMP limit as 1 for Bamboo Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org # HG changeset patch # User Hollis Blanchard # 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 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, };