OSDN Git Service

memory: Let ReservedRegion use Range
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Oct 2023 13:45:07 +0000 (15:45 +0200)
committerCédric Le Goater <clg@redhat.com>
Fri, 3 Nov 2023 08:20:31 +0000 (09:20 +0100)
commite8f433f80e831ecd81989ae0246f3f1e2d3ac480
tree3d25679190dc2c1f7bcdcedfa82a1b873e7c496e
parentd762bf97931b58839316b68a570eecc6143c9e3e
memory: Let ReservedRegion use Range

A reserved region is a range tagged with a type. Let's directly use
the Range type in the prospect to reuse some of the library helpers
shipped with the Range type.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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/core/qdev-properties-system.c
hw/virtio/virtio-iommu.c
include/exec/memory.h