From mboxrd@z Thu Jan 1 00:00:00 1970 From: ehrhardt@linux.vnet.ibm.com Subject: [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo Date: Tue, 28 Oct 2008 10:08:20 +0100 Message-ID: <1225184900-25713-1-git-send-email-ehrhardt@linux.vnet.ibm.com> Cc: hollisb@us.ibm.com, ehrhardt@linux.vnet.ibm.com To: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, avi@qumranet.com, qemu-devel@nongnu.org Return-path: Received: from mtagate1.uk.ibm.com ([194.196.100.161]:50990 "EHLO mtagate1.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752400AbYJ1JIZ (ORCPT ); Tue, 28 Oct 2008 05:08:25 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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, };