public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 7] PowerPC Embedded KVM qemu enablement patches
@ 2008-01-28  3:16 Jerone Young
  2008-01-28  3:16 ` [PATCH 1 of 7] Enhnace kvm-userspace configure script for powerpc Jerone Young
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Jerone Young @ 2008-01-28  3:16 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

This set of patches is to enable PowerPC embedded KVM capablities to be taken advantage of by qemu.

The code currently boots a ungziped uImage of the Linux kernel complied for PowerPC 440 AMCC Bamboo evalution board.  We have not fully tested userspace, but fixes will follow as we do. We are also missing networking support, though this will come shortly. Also our current bamboo board model is h
ardcoded to have 144MB or RAM (which will get changed shortly also).

What you need:
        - A PowerPC 440 based SOC (System-on-Chip)
             (we have been testing with a AMCC bamboo & AMCC sequoia boards)
        - PowerPC KVM Patches (these have been sent by Hollis Blanchard to the list)
        - KVM Kernel source with PowerPC KVM Patches applied
        - cross tools with powerpc 440 compiler (this is assuming your not using a power machine)
        - version of zlib-1.2.3 or higher compiled for powerpc

Then you compile with userspace. Here is an example of what I use 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/" 

Then you run "make". After which you will have an excutable:
kvm-userspace/qemu/ppcemb-softmmu/qemu-system-ppcemb

To run, boot your compiled KVM PPC enabled kernel and also compile your special none gzipped cuImag
e of Linux for the Bamboo board. Then run:

./qemu-system-ppcemb -nographic -M bamboo -kernel cuImage.bambo

Signed-off-by: Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-01-28 16:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28  3:16 [PATCH 0 of 7] PowerPC Embedded KVM qemu enablement patches Jerone Young
2008-01-28  3:16 ` [PATCH 1 of 7] Enhnace kvm-userspace configure script for powerpc Jerone Young
2008-01-28  3:16 ` [PATCH 2 of 7] Ensure 4kB page alignment for embedded powerpc when using kvm Jerone Young
2008-01-28  3:16 ` [PATCH 3 of 7] Chnage so that Powerpc & IA64 do not have KVM_EXTRA_PAGES set Jerone Young
2008-01-28  3:16 ` [PATCH 4 of 7] Add vcpu to arguments of powerpc libkvm callbacks Jerone Young
2008-01-28  3:16 ` [PATCH 5 of 7] Add qemu powerpc build support Jerone Young
2008-01-28  3:16 ` [PATCH 6 of 7] Add powerpc KVM support to qemu Jerone Young
2008-01-28  3:16 ` [PATCH 7 of 7] Add Powerpc 440 board model "bamboo" to take advantage of Powerpc KVM Jerone Young
2008-01-28  3:46 ` [PATCH 0 of 7] PowerPC Embedded KVM qemu enablement patches Anthony Liguori
     [not found]   ` <479D5032.6050807-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2008-01-28 16:01     ` Jerone Young
2008-01-28 16:17       ` Anthony Liguori
     [not found]         ` <479E0029.3090906-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2008-01-28 16:20           ` Jerone Young
2008-01-28 16:48           ` [kvm-ppc-devel] " Hollis Blanchard
2008-01-28 11:03 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox