From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KukZ1-0006cf-Bz for qemu-devel@nongnu.org; Tue, 28 Oct 2008 05:08:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KukYz-0006bR-DQ for qemu-devel@nongnu.org; Tue, 28 Oct 2008 05:08:34 -0400 Received: from [199.232.76.173] (port=49560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KukYy-0006at-1k for qemu-devel@nongnu.org; Tue, 28 Oct 2008 05:08:32 -0400 Received: from mtagate7.uk.ibm.com ([195.212.29.140]:32819) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KukYw-0004Dm-K6 for qemu-devel@nongnu.org; Tue, 28 Oct 2008 05:08:31 -0400 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate7.uk.ibm.com (8.13.8/8.13.8) with ESMTP id m9S98LT0495124 for ; Tue, 28 Oct 2008 09:08:21 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m9S98Ksu4268206 for ; Tue, 28 Oct 2008 09:08:20 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m9S98JBk017952 for ; Tue, 28 Oct 2008 09:08:20 GMT From: ehrhardt@linux.vnet.ibm.com Date: Tue, 28 Oct 2008 10:08:19 +0100 Message-Id: <1225184899-25694-1-git-send-email-ehrhardt@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/3] kvm-userspace: ppc: userspace fixes for powerpc Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, avi@qumranet.com, qemu-devel@nongnu.org Cc: ehrhardt@linux.vnet.ibm.com, hollisb@us.ibm.com From: Christian Ehrhardt This is a set of various functional fixes in kvm-userspace for powerpc. Patch 1 fullfils the requirement to provide a max smp cpu in the machine struct, without that value qemu denies to run the guest (cpu 1 > maxcpu 0) Patch 2 is a intermediate fix to allow ppc (and hopefully all others to build) until we changed the unifdef to sed'ing files as avi suggested. Until then it would be nice if that patch could fix the build issues for all of us in the unifdef style. Patch3 is a rework of the powerpc 440 guest memory initialization. I looked at it because the -m option did not work sometimes but it came up that the memory setup is broken and only running due to a workaround. qemu-devel is on cc for patch 1/3 [patches in series] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo [PATCH 2/3] kvm: external module: Treat NONARCH_CONFIG as a list [PATCH 3/3] kvm-userspace: ppc: fix initial ppc memory setup --- [diffstat] b/kernel/Makefile | 3 ++- b/qemu/hw/ppc440.c | 12 +++++------- b/qemu/hw/ppc440.h | 8 ++++++-- b/qemu/hw/ppc440_bamboo.c | 7 ++++--- qemu/hw/ppc440_bamboo.c | 30 ++++++++++++++++++++---------- 5 files changed, 37 insertions(+), 23 deletions(-)