On Friday 07 January 2011 06:07 PM, Alexander Graf wrote:
But on http://www.linux-kvm.org/page/PowerPC, it states "current development is aimed at running 440 linux kernel as guests on 440 linux hosts". I want to use kvm on powerpc but don't have powerpc hardware :)My aim is to install kvm on a powerpc system. I will give a detailed description of the environment. Host arch: x86 kernel: 2.6.32.25 (ubuntu 10.04 32 bit) I have emulated powerpc using "qemu-system-ppc" and installed debian on top of this. guest os: debian-507-powerpc (2.6.26-1-powerpc) contents of /proc/cpuinfo: processor : 0 cpu : 740/750 temperature : 62-64 C (uncalibrated) clock : 1000.000000MHz revision : 3.1 (pvr 0008 0301) bogomips : 33.02 timebase : 16600733 platform : PowerMac model : Power Macintosh machine : Power Macintosh motherboard : AAPL,PowerMac G3 MacRISC detected as : 49 (PowerMac G3 (Silk)) pmac flags : 00000000 pmac-generation : OldWorldThis emulates a G3, not a 440 :). But you're lucky - the G3 is also supported by KVM. Mind if I ask why you want to virtualize inside of an emulated environment?
When I run "make menuconfig" on the guest os (debian-powerpc), it gives "KVM support for PowerPC book3s_32 processors" under virtualization menu. Is it the correct KVM module for powerpc-750 ? (screenshot attached ) . And, during cross compiling on the host os, after running "make ARCH=powerpc menuconfig" the option "KVM support " disappears.3. How should I try to build kvm kernel module for guest os. I have two options: to compile kernel with kvm inside guest os or to cross compile kernel for powerpc on host os.I always compile natively on a real 970 box. But I don't see why cross-compilation would fail. Just make sure you're building for the correct target and you'll get an option in the Virtualiztion menu.
Thanks,
Attachment:
powerpc_kvm.png
Description: PNG image
Attachment:
powerpc_kvm_cross_compile.png
Description: PNG image