Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver

2012-10-05 Thread Alex Williamson
On Fri, 2012-10-05 at 18:05 +, Blue Swirl wrote: > On Fri, Oct 5, 2012 at 5:33 PM, Alex Williamson > wrote: > > On Fri, 2012-10-05 at 17:22 +, Blue Swirl wrote: > >> On Fri, Oct 5, 2012 at 5:11 PM, Alex Williamson > >> wrote: > >> > On Fri, 2012-10-05 at 16:54 +, Blue Swirl wrote: > >

Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver

2012-10-05 Thread Blue Swirl
On Fri, Oct 5, 2012 at 5:33 PM, Alex Williamson wrote: > On Fri, 2012-10-05 at 17:22 +, Blue Swirl wrote: >> On Fri, Oct 5, 2012 at 5:11 PM, Alex Williamson >> wrote: >> > On Fri, 2012-10-05 at 16:54 +, Blue Swirl wrote: >> >> On Wed, Sep 26, 2012 at 5:19 PM, Alex Williamson >> >> wrote:

Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver

2012-10-05 Thread Alex Williamson
On Fri, 2012-10-05 at 17:22 +, Blue Swirl wrote: > On Fri, Oct 5, 2012 at 5:11 PM, Alex Williamson > wrote: > > On Fri, 2012-10-05 at 16:54 +, Blue Swirl wrote: > >> On Wed, Sep 26, 2012 at 5:19 PM, Alex Williamson > >> wrote: > >> > + > >> > +typedef struct QEMU_PACKED VFIOIRQSetFD { > >

Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver

2012-10-05 Thread Blue Swirl
On Fri, Oct 5, 2012 at 5:11 PM, Alex Williamson wrote: > On Fri, 2012-10-05 at 16:54 +, Blue Swirl wrote: >> On Wed, Sep 26, 2012 at 5:19 PM, Alex Williamson >> wrote: >> > + >> > +typedef struct QEMU_PACKED VFIOIRQSetFD { >> > +struct vfio_irq_set irq_set; >> > +int32_t fd; >> > +} V

Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver

2012-10-05 Thread Alex Williamson
On Fri, 2012-10-05 at 16:54 +, Blue Swirl wrote: > On Wed, Sep 26, 2012 at 5:19 PM, Alex Williamson > wrote: > > + > > +typedef struct QEMU_PACKED VFIOIRQSetFD { > > +struct vfio_irq_set irq_set; > > +int32_t fd; > > +} VFIOIRQSetFD; > > I'm now getting this error from Clang: > > /sr

Re: [Qemu-devel] [PATCH v6 3/4] vfio: vfio-pci device assignment driver

2012-10-01 Thread Alex Barcelo
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 buildi