]> git.proxmox.com Git - mirror_qemu.git/commit
virtio-iommu: Rename reserved_regions into prop_resv_regions
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Oct 2023 13:45:10 +0000 (15:45 +0200)
committerCédric Le Goater <clg@redhat.com>
Fri, 3 Nov 2023 08:20:31 +0000 (09:20 +0100)
commit41cc70cdf53268cd1bc9719014acf739932b51e5
treeae8c1a2b0276cb1c3427403866fc26efff8cc0c3
parente4a8ae09c538880440ba866174b0015f147c8c9e
virtio-iommu: Rename reserved_regions into prop_resv_regions

Rename VirtIOIOMMU (nb_)reserved_regions fields with the "prop_" prefix
to highlight those fields are set through a property, at machine level.
They are IOMMU wide.

A subsequent patch will introduce per IOMMUDevice reserved regions
that will include both those IOMMU wide property reserved
regions plus, sometimes, host reserved regions, if the device is
backed by a host device protected by a physical IOMMU. Also change
nb_ prefix by nr_.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/virtio/virtio-iommu-pci.c
hw/virtio/virtio-iommu.c
include/hw/virtio/virtio-iommu.h