[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver
From: |
Alex Barcelo |
Subject: |
Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver |
Date: |
Mon, 1 Oct 2012 19:22:33 +0200 |
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
- Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver,
Alex Barcelo <=