Hi, I have some problems compiling the last qemu-kvm git tree, the first is about this patch: http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=3cdbd5f0b533901b43279df40107e2e235255244 ================================ CC ppc64-softmmu/virtio-pci.o /usr/src/qemu-kvm/hw/virtio-pci.c: In function 'virtio_pci_mask_notifier': /usr/src/qemu-kvm/hw/virtio-pci.c:436: error: invalid use of undefined type 'struct kvm_irq_routing_entry' /usr/src/qemu-kvm/hw/virtio-pci.c:436: error: dereferencing pointer to incomplete type ================================ Then if I remove this patch I have new problems: ====================================== CC ppc64-softmmu/kvm-all.o cc1: warnings being treated as errors /usr/src/qemu-kvm/kvm-all.c: In function 'kvm_get_dirty_pages_log_range': /usr/src/qemu-kvm/kvm-all.c:313: error: implicit declaration of function 'leHOST_LONG_BITS_to_cpu' In file included from /usr/src/qemu-kvm/qemu-kvm.c:23, from /usr/src/qemu-kvm/kvm-all.c:1292: /usr/src/qemu-kvm/target-ppc/libkvm.h:22:24: error: libkvm-all.h: No such file or directory /usr/src/qemu-kvm/target-ppc/libkvm.h:34:1: error: "smp_wmb" redefined In file included from /usr/src/qemu-kvm/kvm-all.c:24: /usr/src/qemu-kvm/qemu-barrier.h:5:1: error: this is the location of the previous definition In file included from /usr/src/qemu-kvm/kvm-all.c:1292: /usr/src/qemu-kvm/qemu-kvm.c: At top level: /usr/src/qemu-kvm/qemu-kvm.c:724: error: no previous prototype for 'kvm_reinject_control' /usr/src/qemu-kvm/qemu-kvm.c: In function 'kvm_mce_in_exception': /usr/src/qemu-kvm/qemu-kvm.c:1224: error: variable 'msr_mcg_status' has initializer but incomplete type /usr/src/qemu-kvm/qemu-kvm.c:1225: error: unknown field 'index' specified in initializer /usr/src/qemu-kvm/qemu-kvm.c:1225: error: 'MSR_MCG_STATUS' undeclared (first use in this function) /usr/src/qemu-kvm/qemu-kvm.c:1225: error: (Each undeclared identifier is reported only once /usr/src/qemu-kvm/qemu-kvm.c:1225: error: for each function it appears in.) /usr/src/qemu-kvm/qemu-kvm.c:1225: error: excess elements in struct initializer /usr/src/qemu-kvm/qemu-kvm.c:1225: error: (near initialization for 'msr_mcg_status') /usr/src/qemu-kvm/qemu-kvm.c:1224: error: storage size of 'msr_mcg_status' isn't known /usr/src/qemu-kvm/qemu-kvm.c:1229: error: implicit declaration of function 'kvm_get_msrs' /usr/src/qemu-kvm/qemu-kvm.c:1232: error: 'MCG_STATUS_MCIP' undeclared (first use in this function) /usr/src/qemu-kvm/qemu-kvm.c:1224: error: unused variable 'msr_mcg_status' make[1]: *** [kvm-all.o] Error 1 make: *** [subdir-ppc64-softmmu] Error 2 ================================================= and so on. In attach all info abount my env. If someone need a ppc970 as test environment I can provide him a remote access to one or two test machine. Thanks, Giuseppe.