intel_iommu: use the correct memory region for device IOTLB notification
commit10315b9b28c28655ce64500281f4a028d0f8c5ff
authorJason Wang <jasowang@redhat.com>
Fri, 7 Apr 2017 10:59:12 +0000 (7 18:59 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 20 Apr 2017 18:22:41 +0000 (20 15:22 -0300)
tree50892d2369af1d93d44ea4c5e0ce57801749c84c
parentfaa362e3cc94bf739a89b457693e3fbd7a4b95c4
intel_iommu: use the correct memory region for device IOTLB notification

We have a specific memory region for DMAR now, so it's wrong to
trigger the notifier with the root region.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: \"Michael S. Tsirkin\" <mst@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1491562755-23867-7-git-send-email-peterx@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/intel_iommu.c