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 > [email protected] > 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/ _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
