From patchwork Tue Apr 28 21:53:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hollis Blanchard X-Patchwork-Id: 20530 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3SLraxk024601 for ; Tue, 28 Apr 2009 21:53:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753466AbZD1Vx3 (ORCPT ); Tue, 28 Apr 2009 17:53:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753795AbZD1Vx3 (ORCPT ); Tue, 28 Apr 2009 17:53:29 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:51428 "EHLO e8.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752809AbZD1Vx2 (ORCPT ); Tue, 28 Apr 2009 17:53:28 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n3SLi3wS007152; Tue, 28 Apr 2009 17:44:03 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n3SLrOFQ089572; Tue, 28 Apr 2009 17:53:24 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n3SLrO9n015107; Tue, 28 Apr 2009 17:53:24 -0400 Received: from [9.53.41.42] (slate.austin.ibm.com [9.53.41.42]) by d01av01.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n3SLrNGF015075; Tue, 28 Apr 2009 17:53:23 -0400 Subject: Re: qemu-kvm.git now live From: Hollis Blanchard To: Avi Kivity Cc: KVM list , kvm-ppc In-Reply-To: <49F08BD0.6000706@redhat.com> References: <49F08BD0.6000706@redhat.com> Organization: IBM Linux Technology Center Date: Tue, 28 Apr 2009 16:53:22 -0500 Message-Id: <1240955602.24625.57.camel@slate.austin.ibm.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, 2009-04-23 at 18:40 +0300, Avi Kivity wrote: > > Still missing: > - I have not tested powerpc or ia64. Patches welcome! This repository seems pretty messed up; I'm not even sure what you want from me. Some of the bigger problems: * configure completely ignores --kerneldir and only uses kvm/kernel headers instead. * The headers in kvm/kernel/arch/foo seem to be the important ones, but they have odd ifdefs at the top and I'm not sure how they should be generated. * "make -C kvm/kernel sync" doesn't even come close to working. There are a host of other issues and confusing issues, even with a fresh checkout. In general it seems like the mess that was kvm-userspace has been rearranged, and as a consequence is even worse than before. How am I supposed to create kvm/kernel/arch/powerpc/include/asm/*? Just cp from a Linux tree, or must I add funny ifdefs somehow? Here's one patch that I think will be needed: Set kvm_arch=powerpc for PPC builds. The name of the Linux arch directory is "powerpc", not "ppc". Signed-off-by: Hollis Blanchard diff --git a/configure b/configure index fc0fb9b..257cf02 100755 --- a/configure +++ b/configure @@ -816,6 +816,9 @@ case "$cpu" in i386 | x86_64) kvm_arch="x86" ;; + ppc) + kvm_arch="powerpc" + ;; *) kvm_arch="$cpu" ;;