RE: [RFC 4/7] virtio-iommu: Implement PCIIOMMUOps set_host_resv_regions

2024-01-21 Thread Duan, Zhenzhong
Hi Eric, >-Original Message- >From: Duan, Zhenzhong >Subject: RE: [RFC 4/7] virtio-iommu: Implement PCIIOMMUOps >set_host_resv_regions > > > >>-Original Message- >>From: Eric Auger >>Subject: Re: [RFC 4/7] virtio-iommu: Implement PCII

RE: [RFC 4/7] virtio-iommu: Implement PCIIOMMUOps set_host_resv_regions

2024-01-18 Thread Duan, Zhenzhong
>-Original Message- >From: Eric Auger >Subject: Re: [RFC 4/7] virtio-iommu: Implement PCIIOMMUOps >set_host_resv_regions > >Hi Zhenzhong, >On 1/18/24 08:43, Duan, Zhenzhong wrote: >> Hi Eric, >> >>> -Original Message----- >>> Fr

Re: [RFC 4/7] virtio-iommu: Implement PCIIOMMUOps set_host_resv_regions

2024-01-18 Thread Eric Auger
Hi Zhenzhong, On 1/18/24 08:43, Duan, Zhenzhong wrote: > Hi Eric, > >> -Original Message- >> From: Eric Auger >> Subject: [RFC 4/7] virtio-iommu: Implement PCIIOMMUOps >> set_host_resv_regions >> >> Reuse the implementation of virtio_iommu_

RE: [RFC 4/7] virtio-iommu: Implement PCIIOMMUOps set_host_resv_regions

2024-01-17 Thread Duan, Zhenzhong
Hi Eric, >-Original Message- >From: Eric Auger >Subject: [RFC 4/7] virtio-iommu: Implement PCIIOMMUOps >set_host_resv_regions > >Reuse the implementation of virtio_iommu_set_iova_ranges() which >will be removed in subsequent patches. > >Signed-off-by: Eric Aug

[RFC 4/7] virtio-iommu: Implement PCIIOMMUOps set_host_resv_regions

2024-01-17 Thread Eric Auger
Reuse the implementation of virtio_iommu_set_iova_ranges() which will be removed in subsequent patches. Signed-off-by: Eric Auger --- hw/virtio/virtio-iommu.c | 134 +-- 1 file changed, 101 insertions(+), 33 deletions(-) diff --git a/hw/virtio/virtio-iommu.c