Re: [Xen-devel] [PATCH V2 1/25] VIOMMU: Add vIOMMU helper functions to create, destroy and query capabilities

2017-08-24 Thread Tian, Kevin
> From: Lan, Tianyu > Sent: Friday, August 18, 2017 8:22 AM > > This patch is to introduct an abstract layer for arch vIOMMU > implementation > to deal with requests from dom0. Arch vIOMMU code needs to provide > callback > to perform create, destroy and query capabilities operation. > >

Re: [Xen-devel] [PATCH V2 1/25] VIOMMU: Add vIOMMU helper functions to create, destroy and query capabilities

2017-08-23 Thread Roger Pau Monné
On Wed, Aug 23, 2017 at 03:10:48PM +0800, Lan Tianyu wrote: > On 2017年08月22日 23:27, Roger Pau Monné wrote: > > On Thu, Aug 17, 2017 at 08:22:16PM -0400, Lan Tianyu wrote: > >> +int viommu_register_type(u64 type, struct viommu_ops * ops) > >> +{ > >> +struct viommu_type *viommu_type = NULL; >

Re: [Xen-devel] [PATCH V2 1/25] VIOMMU: Add vIOMMU helper functions to create, destroy and query capabilities

2017-08-23 Thread Lan Tianyu
On 2017年08月22日 23:27, Roger Pau Monné wrote: > On Thu, Aug 17, 2017 at 08:22:16PM -0400, Lan Tianyu wrote: >> This patch is to introduct an abstract layer for arch vIOMMU implementation >> to deal with requests from dom0. Arch vIOMMU code needs to provide callback >> to perform create, destroy and

Re: [Xen-devel] [PATCH V2 1/25] VIOMMU: Add vIOMMU helper functions to create, destroy and query capabilities

2017-08-22 Thread Roger Pau Monné
On Thu, Aug 17, 2017 at 08:22:16PM -0400, Lan Tianyu wrote: > This patch is to introduct an abstract layer for arch vIOMMU implementation > to deal with requests from dom0. Arch vIOMMU code needs to provide callback > to perform create, destroy and query capabilities operation. > > Signed-off-by:

Re: [Xen-devel] [PATCH V2 1/25] VIOMMU: Add vIOMMU helper functions to create, destroy and query capabilities

2017-08-18 Thread Wei Liu
On Thu, Aug 17, 2017 at 08:22:16PM -0400, Lan Tianyu wrote: > diff --git a/xen/common/domain.c b/xen/common/domain.c > index b22aacc..d1f9b10 100644 > --- a/xen/common/domain.c > +++ b/xen/common/domain.c > @@ -396,6 +396,9 @@ struct domain *domain_create(domid_t domid, unsigned int >

Re: [Xen-devel] [PATCH V2 1/25] VIOMMU: Add vIOMMU helper functions to create, destroy and query capabilities

2017-08-18 Thread Lan Tianyu
On 2017年08月18日 16:41, Jan Beulich wrote: On 18.08.17 at 02:22, wrote: >> This patch is to introduct an abstract layer for arch vIOMMU implementation >> to deal with requests from dom0. Arch vIOMMU code needs to provide callback >> to perform create, destroy and query

Re: [Xen-devel] [PATCH V2 1/25] VIOMMU: Add vIOMMU helper functions to create, destroy and query capabilities

2017-08-18 Thread Jan Beulich
>>> On 18.08.17 at 02:22, wrote: > This patch is to introduct an abstract layer for arch vIOMMU implementation > to deal with requests from dom0. Arch vIOMMU code needs to provide callback > to perform create, destroy and query capabilities operation. > > Signed-off-by: Lan

[Xen-devel] [PATCH V2 1/25] VIOMMU: Add vIOMMU helper functions to create, destroy and query capabilities

2017-08-18 Thread Lan Tianyu
This patch is to introduct an abstract layer for arch vIOMMU implementation to deal with requests from dom0. Arch vIOMMU code needs to provide callback to perform create, destroy and query capabilities operation. Signed-off-by: Lan Tianyu --- xen/arch/x86/Kconfig | 1