aboutsummaryrefslogtreecommitdiff
path: root/softmmu/runstate-action.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2021-02-09 22:32:33 +0100
committerAlex Williamson <alex.williamson@redhat.com>2021-03-16 10:06:44 -0600
commit1a8e22bd20c2586df0bc0fdce8d5a3b42fffb1ac (patch)
treedb13294efca3e754cef5da79b1501faab303cfce /softmmu/runstate-action.c
parent8dca037b484fc8caeb6d6689745bc7475ce27174 (diff)
downloadqemu-1a8e22bd20c2586df0bc0fdce8d5a3b42fffb1ac.zip
qemu-1a8e22bd20c2586df0bc0fdce8d5a3b42fffb1ac.tar.gz
qemu-1a8e22bd20c2586df0bc0fdce8d5a3b42fffb1ac.tar.bz2
spapr_iommu: Fix vhost integration regression
Previous work on dev-iotlb message broke spapr_iommu/vhost integration as it did for SMMU and virtio-iommu. The spapr_iommu currently only sends IOMMU_NOTIFIER_UNMAP notifications. Since commit 958ec334bca3 ("vhost: Unbreak SMMU and virtio-iommu on dev-iotlb support"), VHOST first tries to register IOMMU_NOTIFIER_DEVIOTLB_UNMAP notifier and if it fails, falls back to legacy IOMMU_NOTIFIER_UNMAP. So spapr_iommu must fail on the IOMMU_NOTIFIER_DEVIOTLB_UNMAP registration. Reported-by: Peter Xu <peterx@redhat.com> Fixes: b68ba1ca5767 ("memory: Add IOMMU_NOTIFIER_DEVIOTLB_UNMAP IOMMUTLBNotificationType") Signed-off-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20210209213233.40985-3-eric.auger@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'softmmu/runstate-action.c')
0 files changed, 0 insertions, 0 deletions