Re: [PATCH v3] virtio-iommu: Fix the partial copy of probe request

2022-06-23 Thread Eric Auger
Hi Duan, On 6/23/22 04:31, Zhenzhong Duan wrote: > The structure of probe request doesn't include the tail, this leads > to a few field missed to be copied. Currently this isn't an issue as > those missed field belong to reserved field, just in case reserved > field will be used in the future. > >

Re: [PATCH v3] virtio-iommu: Fix the partial copy of probe request

2022-06-23 Thread Jean-Philippe Brucker
On Thu, Jun 23, 2022 at 10:31:52AM +0800, Zhenzhong Duan wrote: > The structure of probe request doesn't include the tail, this leads > to a few field missed to be copied. Currently this isn't an issue as > those missed field belong to reserved field, just in case reserved > field will be used in t

[PATCH v3] virtio-iommu: Fix the partial copy of probe request

2022-06-22 Thread Zhenzhong Duan
The structure of probe request doesn't include the tail, this leads to a few field missed to be copied. Currently this isn't an issue as those missed field belong to reserved field, just in case reserved field will be used in the future. Changed 4th parameter of virtio_iommu_iov_to_req() to receiv