[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/13] memory: Let ReservedRegion use Range
From: |
Eric Auger |
Subject: |
Re: [PATCH 01/13] memory: Let ReservedRegion use Range |
Date: |
Mon, 4 Sep 2023 16:22:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 9/4/23 10:12, Philippe Mathieu-Daudé wrote:
> On 4/9/23 10:03, Eric Auger wrote:
>> 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>
>> ---
>> include/exec/memory.h | 4 ++--
>> hw/core/qdev-properties-system.c | 9 ++++++---
>> hw/virtio/virtio-iommu.c | 6 +++---
>> 3 files changed, 11 insertions(+), 8 deletions(-)
>
> TIL "qemu/range.h" :)
I did as well and on top of that I learnt "TIL" :)
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Thanks!
Eric
- [PATCH 00/13] VIRTIO-IOMMU/VFIO: Don't assume 64b IOVA space, Eric Auger, 2023/09/04
- [PATCH 01/13] memory: Let ReservedRegion use Range, Eric Auger, 2023/09/04
- [PATCH 02/13] memory: Introduce memory_region_iommu_set_iova_ranges, Eric Auger, 2023/09/04
- [PATCH 04/13] virtio-iommu: Rename reserved_regions into prop_resv_regions, Eric Auger, 2023/09/04
- [PATCH 05/13] virtio-iommu: Introduce per IOMMUDevice reserved regions, Eric Auger, 2023/09/04
- [PATCH 03/13] vfio: Collect container iova range info, Eric Auger, 2023/09/04
- [PATCH 06/13] range: Introduce range_inverse_array(), Eric Auger, 2023/09/04