aboutsummaryrefslogtreecommitdiff
path: root/aio-win32.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2014-05-30 13:05:19 -0600
committerAlex Williamson <alex.williamson@redhat.com>2014-05-30 13:05:19 -0600
commit3df3e0a5872cbc8fcc55a0413416352eec68132e (patch)
tree0980696736c7276def69412398d5d99afeb8fcb4 /aio-win32.c
parent279a35ab4a8515d1eac06a76547d4b65a6cde519 (diff)
vfio: Introduce VFIO address spaces
The only model so far supported for VFIO passthrough devices is the model usually used on x86, where all of the guest's RAM is mapped into the (host) IOMMU and there is no IOMMU visible in the guest. This patch begins to relax this model, introducing the notion of a VFIOAddressSpace. This represents a logical DMA address space which will be visible to one or more VFIO devices by appropriate mapping in the (host) IOMMU. Thus the currently global list of containers becomes local to a VFIOAddressSpace, and we verify that we don't attempt to add a VFIO group to multiple address spaces. For now, only one VFIOAddressSpace is created and used, corresponding to main system memory, that will change in future patches. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'aio-win32.c')
0 files changed, 0 insertions, 0 deletions