Re: [Qemu-devel] [RFC PATCH 3/5] VFIO: Base framework for new VFIO driver

2011-09-19 Thread Alex Williamson
Sorry for the delay, just getting back from LPC and some time off... On Wed, 2011-09-07 at 10:52 -0400, Konrad Rzeszutek Wilk wrote: > > +static long vfio_iommu_unl_ioctl(struct file *filep, > > +unsigned int cmd, unsigned long arg) > > +{ > > + struct vfio_iommu *vio

Re: [Qemu-devel] [RFC PATCH 3/5] VFIO: Base framework for new VFIO driver

2011-09-07 Thread Konrad Rzeszutek Wilk
> +static long vfio_iommu_unl_ioctl(struct file *filep, > + unsigned int cmd, unsigned long arg) > +{ > + struct vfio_iommu *viommu = filep->private_data; > + struct vfio_dma_map dm; > + int ret = -ENOSYS; > + > + switch (cmd) { > + case VFIO_IOMMU_M