PowerPC 440 Host Kernel

From KVM
Revision as of 02:43, 11 March 2009 by ShaharMintz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Host Kernel

The host kernel is the one you boot the hardware with, and runs virtual machines (KVM guests).

Download

The best place to start is the kvm.git tree (see the Code page).

Most PowerPC KVM patches have been integrated in the kernel.org kernel, but additional patches may be found in the kvm.git tree. A set of patches which have not yet been committed to kvm.git is available at http://penguinppc.org/~hollisb/kvm/

Configure

Enable the KVM options in the Virtualization top-level category when running make menuconfig.

To allow guests to connect to the network, enable "TUN/TAP device driver support" and see the Networking page.

CONFIG_KVM=y
CONFIG_KVM_440=y
CONFIG_TUN=y

Build

Build and boot whatever target you need for your board/firmware.

For example, for a Sequoia board running u-boot, make zImage will produce arch/powerpc/boot/cuImage.sequoia.

For a Bamboo board running PIBS, make zImage will produce arch/powerpc/boot/treeImage.bamboo.