diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-06-10 15:39:22 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-27 13:48:23 +0200 |
commit | 6d8be4c3434783a59ae29f7ea6a792b56c812349 (patch) | |
tree | a836f89a33c6e8427449e2cb51eb43c16cecdcd2 /qemu-tech.texi | |
parent | 9bb62a0702dec4e103a3bb820b2a642e75995a56 (diff) |
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>
Diffstat (limited to 'qemu-tech.texi')
0 files changed, 0 insertions, 0 deletions