These two patches build on the previous "split out arch-specific" work. The first adds a PPC64 build, basic CPU support, guest RAM mapping (using hugepages), flat kernel loading and all required arch-specific definitions & structures. With patches to date, this should build PPC but not necessarily run much. Subsequent patches add support to emulate an SPAPR-esque machine. This patch does not include any code borrowed from outside kvmtool. The second patch is a small fix for generic virtio code (now that we have a PPC build) which removes reliance on ioeventfds for PPC, which doesn't provide them. Matt Evans (2): kvm tools: Add initial SPAPR PPC64 architecture support kvm tools: Make virtio-pci's ioeventfd__add_event() fall back gracefully if ioeventfds unavailable tools/kvm/Makefile | 10 + tools/kvm/include/kvm/ioeventfd.h | 3 +- tools/kvm/ioeventfd.c | 12 +- tools/kvm/kvm.c | 3 + tools/kvm/powerpc/include/kvm/barrier.h | 6 + tools/kvm/powerpc/include/kvm/kvm-arch.h | 72 ++++++++ tools/kvm/powerpc/include/kvm/kvm-cpu-arch.h | 66 ++++++++ tools/kvm/powerpc/ioport.c | 18 ++ tools/kvm/powerpc/irq.c | 40 +++++ tools/kvm/powerpc/kvm-cpu.c | 233 ++++++++++++++++++++++++++ tools/kvm/powerpc/kvm.c | 187 +++++++++++++++++++++ tools/kvm/virtio/pci.c | 13 ++- 12 files changed, 658 insertions(+), 5 deletions(-) create mode 100644 tools/kvm/powerpc/include/kvm/barrier.h create mode 100644 tools/kvm/powerpc/include/kvm/kvm-arch.h create mode 100644 tools/kvm/powerpc/include/kvm/kvm-cpu-arch.h create mode 100644 tools/kvm/powerpc/ioport.c create mode 100644 tools/kvm/powerpc/irq.c create mode 100644 tools/kvm/powerpc/kvm-cpu.c create mode 100644 tools/kvm/powerpc/kvm.c -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html