Skip to contentSkip to conversation

PowerPC KVM qemu ROUGH DRAFT 2

PATCH New Jerone Young 1 participant 1 message Jan 25, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PowerPC KVM qemu ROUGH DRAFT 2

It's friday..so that means rough patch day!

So Big changes this time around.
1) Interrupt
2) bug fixes where making redudent calls to qemu_kvm_context_init & qemu_kvm_init
3) Cleanup (and there will be more)

So the qemu patch is just about ready to go upsteam. I've run through and found things I see need fixing and polishing before hand. Also one build thing that probably shouldn't be there. Will also be renaming and moving things around. But expect a submission to kvm-devel next week.

The rest is the usage:

This will compile qemu exectuable that can be found in kvm-userspace/qemu/ppcemb

Also in this do not to not use qemu command -m option.

Your going to need a couple of things:
1) cross tools with powerpc 440 compiler (this is assuming your not using a power machine)
2) version of zlib-1.2.3 compiled for powerpc
3) kvm kernel source with powerpc enablements that is compiled
- you will need patches recently sent to list by Hollis Blanchard

Here is an example of how to configure kvm-userspace:

./configure --arch=powerpc --cross-prefix=powerpc-440-linux-gnu- --with-patched-kernel --kerneldir=/home/jerone/work/kvmppc.hg/ --disable-sdl --disable-vnc-tls --disable-gfx-check --disable-gcc-check --qemu-cflags="-I/home/jerone/work/zlib-1.2.3 -I/home/jerone/work/kvmppc.hg/include/" --qemu-ldflags="-L/home/jerone/work/zlib-1.2.3/" --static

The executable will be:
kvm-userspace/qemu/ppcemb-softmmu/qemu-system-ppcemb

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