diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2014-05-30 13:10:07 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2014-05-30 13:10:07 -0600 |
commit | 5e70018b00dbe59a96b80933a0dd308ee1ec4488 (patch) | |
tree | 191156d45385939d42d7d7b1a62ded2e8e5c4b91 /qapi/qmp-input-visitor.c | |
parent | 0688448b71d22912601380b7e7eb66a38dc996b8 (diff) | |
download | qemu-5e70018b00dbe59a96b80933a0dd308ee1ec4488.tar.gz qemu-5e70018b00dbe59a96b80933a0dd308ee1ec4488.tar.bz2 qemu-5e70018b00dbe59a96b80933a0dd308ee1ec4488.zip |
vfio: Add guest side IOMMU support
This patch uses the new IOMMU notifiers to allow VFIO pass through devices
to work with guest side IOMMUs, as long as the host-side VFIO iommu has
sufficient capability and granularity to match the guest side. This works
by tracking all map and unmap operations on the guest IOMMU using the
notifiers, and mirroring them into VFIO.
There are a number of FIXMEs, and the scheme involves rather more notifier
structures than I'd like, but it should make for a reasonable proof of
concept.
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 'qapi/qmp-input-visitor.c')
0 files changed, 0 insertions, 0 deletions