Hi:
This series is a fixup for vfio enablement series which breaks vhost
device IOTLB. The main reason is that vhost device IOTLB assumes the
iommu region were alwasy as->root. Fixing by using a memory listener
to register iommu notifiers.
Please review.
Jason Wang (2):
intel_iommu: use the correct memory region for device IOTLB
notification
vhost: genearlize iommu memory region
hw/i386/intel_iommu.c | 2 +-
hw/virtio/vhost.c | 93 +++++++++++++++++++++++++++++++++++++----------
include/hw/virtio/vhost.h | 10 +++++
3 files changed, 84 insertions(+), 21 deletions(-)
--
2.7.4