This: struct vfio_iommu_type1_dma_map map = { .argsz = sizeof(map), .flags = VFIO_DMA_MAP_FLAG_READ, .vaddr = (__u64)vaddr, .iova = iova, .size = size, }; (around line 771) breaks in my environment. I am in a crosschain environment on a i386 buildin PPC (32bit) binaries. I am using emdebian utilities, and have been cross building qemu for months now. The configure: PKG_CONFIG_PATH=/usr/powerpc-linux-gnu/lib/pkgconfig ./configure --prefix=/mnt/DATA/DARCO/alien --enable-debug-tcg --enable-debug --enable-trace-backend=simple --disable-strip --disable-kvm --enable-profiler --target-list=i386-softmmu --static --disable-curl --cross-prefix=powerpc-linux-gnu- --with-coroutine=sigaltstack The build: make clean && make -j && make install The error: /mnt/DATA/DARCO/qemu-git/hw/vfio_pci.c: In function 'vfio_dma_map': /mnt/DATA/DARCO/qemu-git/hw/vfio_pci.c:771: error: cast from pointer to integer of different size -- 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