qemu/include/hw/misc
Alexey Kardashevskiy 6d8be4c343 vfio: Add vfio_container_ioctl()
While most operations with VFIO IOMMU driver are generic and used inside
vfio.c, there are still some operations which only specific VFIO IOMMU
drivers implement. The first example of it will be reading a DMA window
start from the host.

This adds a helper which passes an ioctl request to the container's fd.

The helper will check if @req is known. For this, stub is added. This return
-1 on any requests for now.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-06-27 13:48:23 +02:00
..
a9scu.h a9mpcore: Embed A9SCUState 2013-11-05 17:47:29 +01:00
arm11scu.h arm11mpcore: Split off SCU device 2013-11-05 17:47:30 +01:00
arm_integrator_debug.h integrator: fix Linux boot failure by emulating dbg region 2013-10-31 14:00:16 +01:00
tmp105_regs.h
vfio.h vfio: Add vfio_container_ioctl() 2014-06-27 13:48:23 +02:00