]> Git Repo - qemu.git/commit
vfio: Add vfio_container_ioctl()
authorAlexey Kardashevskiy <[email protected]>
Tue, 10 Jun 2014 05:39:22 +0000 (15:39 +1000)
committerAlexander Graf <[email protected]>
Fri, 27 Jun 2014 11:48:23 +0000 (13:48 +0200)
commit6d8be4c3434783a59ae29f7ea6a792b56c812349
treea836f89a33c6e8427449e2cb51eb43c16cecdcd2
parent9bb62a0702dec4e103a3bb820b2a642e75995a56
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 <[email protected]>
Acked-by: Alex Williamson <[email protected]>
Acked-by: Alex Williamson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/misc/vfio.c
include/hw/misc/vfio.h [new file with mode: 0644]
This page took 0.026157 seconds and 4 git commands to generate.