diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-06-30 13:00:23 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-06-30 13:00:23 -0600 |
commit | d22d8956b185c002b50a4d0883aff61f857347ef (patch) | |
tree | 25764240d91bdafe36b0b98d1b5250b09e4e7e79 /CODING_STYLE | |
parent | e37dac06dc4e85a2f46c24261c0dfdf2a30b50e3 (diff) | |
download | qemu-d22d8956b185c002b50a4d0883aff61f857347ef.zip qemu-d22d8956b185c002b50a4d0883aff61f857347ef.tar.gz qemu-d22d8956b185c002b50a4d0883aff61f857347ef.tar.bz2 |
memory: Add MemoryRegionIOMMUOps.notify_started/stopped callbacks
The IOMMU driver may change behavior depending on whether a notifier
client is present. In the case of POWER, this represents a change in
the visibility of the IOTLB, for other drivers such as intel-iommu and
future AMD-Vi emulation, notifier support is not yet enabled and this
provides the opportunity to flag that incompatibility.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Peter Xu <peterx@redhat.com>
Tested-by: Peter Xu <peterx@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
[new log & extracted from [PATCH qemu v17 12/12] spapr_iommu, vfio, memory: Notify IOMMU about starting/stopping listening]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions