The MOL kernel module was designed with PPC32 hosts and guests in mind.
While that's all great when running on PPC32 hosts, it makes life really
hard on PPC64 hosts, as the MOL kernel module doesn't work there.
Furthermore it also never got upstreamed. So every new kernel revision
might break it.
Recently I implemented KVM for PowerPC64 though. So we now have a common
virtualization framework inside the kernel that gives us easy virtualization
access to PPC32 and PPC64 guest VMs.
This patch implements a simple backend module to interact with KVM. That way
KVM can be used to virtualize the CPU. Everything else still goes through
MOL.
With this patch applied and my recent patches to KVM (see the kvm-ppc ML
archive) I'm happily running a 10.4.11 Mac OS X VM on a 970MP system.
This should also enable G5 and PS3 hosts, though I haven't tried it out
there yet.
Please keep in mind that you need to run 32 bit userspace with a 64 bit kernel
for this to work.
MOL heavily relies on sizeof(guest GPR) == sizeof(void*) == sizeof(int)
Bookmarks