Re: [GIT PULL] Add KVM support for Book3s_64 (PPC64) hosts v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 26.07.2009, at 13:52, Avi Kivity wrote:

On 07/24/2009 07:30 PM, Alexander Graf wrote:
KVM for PowerPC only supports embedded cores at the moment.

While it makes sense to virtualize on small machines, it's even more fun to do so on big boxes. So I figured we need KVM for PowerPC64 as well.

This patchset implements KVM support for Book3s_64 hosts and guest support
for Book3s_64 and G3/G4.

To really make use of this, you will also need a modified version of qemu that can deal with KVM on desktop cores. I will send out patches for those
later, but want to get feedback on the kernel side first.

In the meanwhile, use the qemu version from
http://www.powerkvm.org/powerkvm.git which already includes all required
patches to run G3/G4 and G5 guests.


To not spam on everyone on the list, I figured I'd send this as a git pull
request this time. If I did anything wrong, please tell me :-).


I will need some acks from ppc people. Obviously for the non-kvm bits, but also for the kvm bits as I am not qualified to review ppc code.

Right, FWIW Ben would actually even prefer to take the whole thing in his tree.

 - use MMU Notifiers


What's the plan here?

Implement MMU Notifiers as soon as I fully understand them? :-)
I'm aware of the basic concept, but the callbacks still seem somewhat magical to me.

 - use u64* for dirty log



Is this a userspace interface issue? if so it will need to be addressed before merging.

Yes, on big endian having a 64-bit kernel and 32-bit userspace breaks when dirty log is ulong*. Nobody saw this until now, because it's not a big deal on little endian.

I sent a patch doing the qemu side of things already, but haven't went through the kvm bits yet. Basically we can't use set_bit and test_bit for the dirty log, because they require us to have the bitmap as ulong*.

Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux