Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-05-11 Thread Lan Tianyu
half Of >>>>>>> Chao Gao >>>>>>> Sent: 29 March 2017 01:40 >>>>>>> To: Wei Liu <wei.l...@citrix.com> >>>>>>> Cc: Lan Tianyu <tianyu@intel.com>; Kevin Tian >>>>>>> <kevin.t...

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-05-11 Thread Wei Liu
gt; Sent: 29 March 2017 01:40 > >>>>> To: Wei Liu <wei.l...@citrix.com> > >>>>> Cc: Lan Tianyu <tianyu....@intel.com>; Kevin Tian > >>>>> <kevin.t...@intel.com>; > >>>>> Ian Jackson <ian.jack...@citrix.com>; x

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-04-19 Thread Lan Tianyu
On 2017年04月18日 22:15, Paul Durrant wrote: >> -Original Message- > [snip] >>> > > >>> > > Not quite sure I understand this. The QEMu device model does not 'pass >> > DMA requests' as such, it maps guest RAM and reads or writes to emulate >> > DMA, right? So, what's needed is a mechanism to

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-04-18 Thread Paul Durrant
> -Original Message- [snip] > > > > Not quite sure I understand this. The QEMu device model does not 'pass > DMA requests' as such, it maps guest RAM and reads or writes to emulate > DMA, right? So, what's needed is a mechanism to map guest RAM by 'bus > address'... i.e. an address that

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-04-18 Thread Lan Tianyu
;kevin.t...@intel.com>; Ian Jackson <ian.jack...@citrix.com>; >> xen-devel@lists.xen.org >> Subject: Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu >> operations in libxc >> >> Hi Paul: >> Sorry for later response. >> >>

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-04-18 Thread Paul Durrant
> xen-devel@lists.xen.org > Subject: Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu > operations in libxc > > Hi Paul: > Sorry for later response. > > On 3/31/2017 3:57 AM, Chao Gao wrote: > > On Wed, Mar 29, 2017 at 09:08:06AM +, Paul Durrant wrot

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-04-17 Thread Lan Tianyu
> Cc: Lan Tianyu <tianyu@intel.com>; Kevin Tian <kevin.t...@intel.com>; >>>>> Ian Jackson <ian.jack...@citrix.com>; xen-devel@lists.xen.org >>>>> Subject: Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu >>>>> operations in libxc >

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-04-17 Thread Wei Liu
> <kevin.t...@intel.com>; > > > > Ian Jackson <ian.jack...@citrix.com>; xen-devel@lists.xen.org > > > > Subject: Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu > > > > operations in libxc > > > > > > > > Tianyu is

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-04-14 Thread Lan, Tianyu
i.l...@citrix.com> Cc: Lan Tianyu <tianyu@intel.com>; Kevin Tian <kevin.t...@intel.com>; Ian Jackson <ian.jack...@citrix.com>; xen-devel@lists.xen.org Subject: Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc Tianyu is on vacation this two weeks,

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-03-30 Thread Chao Gao
Tianyu <tianyu@intel.com>; Kevin Tian <kevin.t...@intel.com>; >> Ian Jackson <ian.jack...@citrix.com>; xen-devel@lists.xen.org >> Subject: Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu >> operations in libxc >> >> Tianyu is on vacation th

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-03-29 Thread Paul Durrant
n Jackson <ian.jack...@citrix.com>; xen-devel@lists.xen.org > Subject: Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu > operations in libxc > > Tianyu is on vacation this two weeks, so I will try to address > some comments on this series. > > On Tue, Mar 28, 2017

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-03-29 Thread Chao Gao
Tianyu is on vacation this two weeks, so I will try to address some comments on this series. On Tue, Mar 28, 2017 at 05:24:03PM +0100, Wei Liu wrote: >On Fri, Mar 17, 2017 at 07:27:05PM +0800, Lan Tianyu wrote: >> From: Chao Gao >> >> In previous patch, we introduce a common

Re: [Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-03-28 Thread Wei Liu
On Fri, Mar 17, 2017 at 07:27:05PM +0800, Lan Tianyu wrote: > From: Chao Gao > > In previous patch, we introduce a common vIOMMU layer. In our design, > we create/destroy vIOMMU through DMOP interface instead of creating it > according to a config flag of domain. It makes it

[Xen-devel] [RFC PATCH 5/23] Tools/libxc: Add viommu operations in libxc

2017-03-17 Thread Lan Tianyu
From: Chao Gao In previous patch, we introduce a common vIOMMU layer. In our design, we create/destroy vIOMMU through DMOP interface instead of creating it according to a config flag of domain. It makes it is possible to create vIOMMU in device model or in tool stack. The