summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2023-10-19 15:45:16 +0200
committerCédric Le Goater <clg@redhat.com>2023-11-03 09:20:31 +0100
commit30d40e39bdcb50e67f7cca7bee8bf59234c4ec12 (patch)
treefabee07059fe8d66ab287c339367ab64ad6602b3 /hw/core/qdev-properties-system.c
parent09b4c3d6a2f098e64cc25aa63f388ea943990279 (diff)
downloadfocaccia-qemu-30d40e39bdcb50e67f7cca7bee8bf59234c4ec12.tar.gz
focaccia-qemu-30d40e39bdcb50e67f7cca7bee8bf59234c4ec12.zip
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/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions