From: ehrhardt@linux.vnet.ibm.com Date: Tue, 28 Oct 2008 09:08:20 +0000 Subject: [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo Message-Id: <1225184900-25713-1-git-send-email-ehrhardt@linux.vnet.ibm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, avi@qumranet.com, qemu-devel@nongnu.org Cc: hollisb@us.ibm.com, ehrhardt@linux.vnet.ibm.com From: Christian Ehrhardt 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 Signed-off-by: Hollis Blanchard --- [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, };