diff options
author | Eric Auger <eric.auger@redhat.com> | 2023-10-19 15:45:16 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-11-03 09:20:31 +0100 |
commit | 30d40e39bdcb50e67f7cca7bee8bf59234c4ec12 (patch) | |
tree | fabee07059fe8d66ab287c339367ab64ad6602b3 /hw/core/sysbus-fdt.c | |
parent | 09b4c3d6a2f098e64cc25aa63f388ea943990279 (diff) | |
download | qemu-30d40e39bdcb50e67f7cca7bee8bf59234c4ec12.zip qemu-30d40e39bdcb50e67f7cca7bee8bf59234c4ec12.tar.gz qemu-30d40e39bdcb50e67f7cca7bee8bf59234c4ec12.tar.bz2 |
virtio-iommu: Implement set_iova_ranges() callback
The implementation populates the array of per IOMMUDevice
host reserved ranges.
It is forbidden to have conflicting sets of host IOVA ranges
to be applied onto the same IOMMU MR (implied by different
host devices).
In case the callback is called after the probe request has
been issues by the driver, a warning is issued.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: "Michael S. Tsirkin" <mst@redhat.com>
Tested-by: Yanghang Liu <yanghliu@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/core/sysbus-fdt.c')
0 files changed, 0 insertions, 0 deletions