xemu/hw/vfio
Peter Xu 4a4b88fbe1 vfio: introduce vfio_get_vaddr()
A cleanup for vfio_iommu_map_notify(). Now we will fetch vaddr even if
the operation is unmap, but it won't hurt much.

One thing to mention is that we need the RCU read lock to protect the
whole translation and map/unmap procedure.

Acked-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-02-17 21:52:31 +02:00
..
amd-xgbe.c all: Clean up includes 2016-02-23 12:43:05 +00:00
calxeda-xgmac.c hw/vfio: Clean up includes 2016-01-29 15:07:24 +00:00
common.c vfio: introduce vfio_get_vaddr() 2017-02-17 21:52:31 +02:00
Makefile.objs hw/vfio: Add CONFIG switches for calxeda-xgmac and amd-xgbe 2017-02-10 13:12:03 -07:00
pci-quirks.c hw/vfio/pci-quirks: Set category of the "vfio-pci-igd-lpc-bridge" device 2017-02-10 13:12:03 -07:00
pci.c pci: Convert msix_init() to Error and fix callers 2017-02-01 03:37:18 +02:00
pci.h vfio/pci: Pass an error object to vfio_pci_igd_opregion_init 2016-10-17 10:57:59 -06:00
platform.c vfio/platform: Pass an error object to vfio_base_device_init 2016-10-17 10:58:01 -06:00
spapr.c memory: Replace skip_dump flag with "ram_device" 2016-10-31 09:53:03 -06:00
trace-events vfio: trace map/unmap for notify as well 2017-02-17 21:52:31 +02:00