From: Jerone Young Subject: Re: [RFC] Qemu powerpc work around Date: Wed, 13 Feb 2008 14:29:26 -0600 Message-ID: <1202934566.13883.1.camel@thinkpad.austin.ibm.com> References: <1202852254.16861.6.camel@thinkpad.austin.ibm.com> <47B29C6F.3090503@qumranet.com> <1202924376.6744.5.camel@thinkpad.austin.ibm.com> <47B33D20.7030709@codemonkey.ws> Reply-To: jyoung5@us.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , hollisb , Avi Kivity To: Anthony Liguori Return-path: In-Reply-To: <47B33D20.7030709@codemonkey.ws> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org This works better. Not sure why but when I had fake-exec in target-ppc, the build system was complaining that it could not find fake-exec.d. So then I just decided to move it to fake-exec-ppc.c. This patch works fine for powerpc. On Wed, 2008-02-13 at 12:55 -0600, Anthony Liguori wrote: > Jerone Young wrote: > > On Wed, 2008-02-13 at 09:29 +0200, Avi Kivity wrote: > > > >> Jerone Young wrote: > >> > >>> So the recent code in qemu cvs has problem powerpc. So what I have done > >>> is mainly work around this in the build system, by creating > >>> ppcemb_kvm-sofmmu target. Along with this is a fake-exec.c that stubs > >>> out the functions that are no longer defined (something done by Anthony > >>> Liguori attempting to fix qemu_cvs). What do folks think about this > >>> approach, for us all we really need is a qemu that is not built with tcg > >>> dependency. > >>> > >>> > >>> > >> Since a target in qemu is a cpu type, how the instructions are executed > >> (kvm, kqemu, dyngen, or tcg) shouldn't come into it. Instead we can > >> have a --without-cpu-emulation or --no-tcg which would simply disable > >> those parts. > >> > > > > Actually this much much more sensible solution. So I took some time and > > implemented it. > > > > Funny enough, I was thinking the same thing last night :-) > > Please move fake-exec.c to target-ppc/fake-exec.c as it contains PPC > specific code. Otherwise, this patch is much better! > > Regards, > > Anthony Liguori > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > kvm-devel mailing list > kvm-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kvm-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/