Re: [PATCH v15 4/4] vhost-vdpa: Add support for vIOMMU.

2023-03-24 Thread Jason Wang
On Thu, Mar 23, 2023 at 4:41 PM Cindy Lu wrote: > > On Thu, Mar 23, 2023 at 11:47 AM Jason Wang wrote: > > > > On Tue, Mar 21, 2023 at 10:24 PM Cindy Lu wrote: > > > > > > 1. The vIOMMU support will make vDPA can work in IOMMU mode. This > > > will fix security issues while using the no-IOMMU

Re: [PATCH v15 4/4] vhost-vdpa: Add support for vIOMMU.

2023-03-24 Thread Jason Wang
On Fri, Mar 24, 2023 at 11:00 AM Cindy Lu wrote: > > On Fri, Mar 24, 2023 at 10:49 AM Jason Wang wrote: > > > > On Thu, Mar 23, 2023 at 4:41 PM Cindy Lu wrote: > > > > > > On Thu, Mar 23, 2023 at 11:47 AM Jason Wang wrote: > > > > > > > > On Tue, Mar 21, 2023 at 10:24 PM Cindy Lu wrote: > > >

Re: [PATCH v15 4/4] vhost-vdpa: Add support for vIOMMU.

2023-03-23 Thread Cindy Lu
On Fri, Mar 24, 2023 at 10:49 AM Jason Wang wrote: > > On Thu, Mar 23, 2023 at 4:41 PM Cindy Lu wrote: > > > > On Thu, Mar 23, 2023 at 11:47 AM Jason Wang wrote: > > > > > > On Tue, Mar 21, 2023 at 10:24 PM Cindy Lu wrote: > > > > > > > > 1. The vIOMMU support will make vDPA can work in IOMMU

Re: [PATCH v15 4/4] vhost-vdpa: Add support for vIOMMU.

2023-03-23 Thread Cindy Lu
On Thu, Mar 23, 2023 at 11:47 AM Jason Wang wrote: > > On Tue, Mar 21, 2023 at 10:24 PM Cindy Lu wrote: > > > > 1. The vIOMMU support will make vDPA can work in IOMMU mode. This > > will fix security issues while using the no-IOMMU mode. > > To support this feature we need to add new functions

Re: [PATCH v15 4/4] vhost-vdpa: Add support for vIOMMU.

2023-03-22 Thread Jason Wang
On Tue, Mar 21, 2023 at 10:24 PM Cindy Lu wrote: > > 1. The vIOMMU support will make vDPA can work in IOMMU mode. This > will fix security issues while using the no-IOMMU mode. > To support this feature we need to add new functions for IOMMU MR adds and > deletes. > > Also since the SVQ does not

[PATCH v15 4/4] vhost-vdpa: Add support for vIOMMU.

2023-03-21 Thread Cindy Lu
1. The vIOMMU support will make vDPA can work in IOMMU mode. This will fix security issues while using the no-IOMMU mode. To support this feature we need to add new functions for IOMMU MR adds and deletes. Also since the SVQ does not support vIOMMU yet, add the check for IOMMU in