]> git.proxmox.com Git - mirror_qemu.git/commit
virtio-iommu: Consolidate host reserved regions and property set ones
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Oct 2023 13:45:17 +0000 (15:45 +0200)
committerCédric Le Goater <clg@redhat.com>
Fri, 3 Nov 2023 08:20:31 +0000 (09:20 +0100)
commit5c476ba3fad3b7659988f28aae8b1b8d5331effc
tree23f69120011f64ffd523021973b914a66e5d7c52
parent30d40e39bdcb50e67f7cca7bee8bf59234c4ec12
virtio-iommu: Consolidate host reserved regions and property set ones

Up to now we were exposing to the RESV_MEM probe requests the
reserved memory regions set though the reserved-regions array property.

Combine those with the host reserved memory regions if any. Those
latter are tagged as RESERVED. We don't have more information about
them besides then cannot be mapped. Reserved regions set by
property have higher priority.

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>
hw/virtio/trace-events
hw/virtio/virtio-iommu.c