From KVM
 
(No difference)

Latest revision as of 07:39, 11 March 2009

Guest Kernel

The guest kernel is the one you run inside the virtual machine. Our virtual machines emulate the 440EP Bamboo reference board. The guest kernel need not be modified except for one catch: we do not emulate some of the IBM PowerPC-specific SoC peripherals.

Download

You can use the same source for the guest kernel as the host kernel.

We have only tested the Bamboo platform support in recent Linux kernels (2.6.25+, using arch/powerpc rather than arch/ppc).

Configure

Configure for the Bamboo platform.

Disable the EMAC Ethernet device driver; Qemu does not emulate this device. Instead, enable the VirtIO network driver. Also enable the VirtIO block driver.


CONFIG_BAMBOO=y
# CONFIG_IBM_NEW_EMAC is not set
CONFIG_VIRTIO_BLK=y
CONFIG_VIRTIO_NET=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_RING=y
CONFIG_VIRTIO_PCI=y
# CONFIG_VIRTIO_BALLOON is not set


Build

make uImage to produce arch/powerpc/boot/uImage. This is the file that you will specify on the qemu command line.