From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Durrant Subject: Re: [PATCH 3/3] tools: introduce parameter max_ranges. Date: Wed, 20 Jan 2016 10:18:01 +0000 Message-ID: <0a14c64daa72474daff7527adc3c90d0@AMSPEX02CL03.citrite.net> References: <1453195678-25944-1-git-send-email-yu.c.zhang@linux.intel.com> <1453195678-25944-4-git-send-email-yu.c.zhang@linux.intel.com> <20160119115349.GV1691@citrix.com> <7a1e981ca15b491e878fb32287f5ea7a@AMSPEX02CL03.citrite.net> <20160119143725.GI1691@citrix.com> <968fc8fc8f824ee7903fe7c8cbb7b5c0@AMSPEX02CL03.citrite.net> <20160119150400.GK1691@citrix.com> <1453216725.29930.84.camel@citrix.com> <569F0008.1010201@linux.intel.com> <1453284978.26343.29.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1453284978.26343.29.camel@citrix.com> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , Kevin Tian , "Yu, Zhang" , Wei Liu Cc: "Keir (Xen.org)" , Andrew Cooper , "xen-devel@lists.xen.org" , Stefano Stabellini , "Lv, Zhiyuan" , "jbeulich@suse.com" List-Id: xen-devel@lists.xenproject.org > -----Original Message----- > From: Ian Campbell [mailto:ian.campbell@citrix.com] > Sent: 20 January 2016 10:16 > To: Kevin Tian; Yu, Zhang; Wei Liu; Paul Durrant > Cc: Keir (Xen.org); jbeulich@suse.com; Andrew Cooper; xen- > devel@lists.xen.org; Lv, Zhiyuan; Stefano Stabellini > Subject: Re: [Xen-devel] [PATCH 3/3] tools: introduce parameter > max_ranges. > > On Wed, 2016-01-20 at 03:58 +0000, Tian, Kevin wrote: > > > From: Yu, Zhang [mailto:yu.c.zhang@linux.intel.com] > > > Sent: Wednesday, January 20, 2016 11:33 AM > > > > As a feature this write-protection has nothing to be GPU > > > > virtualization specific. > > > > In the future the same mediated pass-through idea used in XenGT may > > > > be > > > > used on other I/O devices which need to shadow some structure w/ > > > > requirement > > > > to write-protect guest memory. So it's not good to tie this to either > > > > XenGT > > > > or GTT. > > > > > > > Thank you, Kevin. > > > Well, if this parameter is not supposed to be xengt specific, we do not > > > need to connect it with any xengt flag such as ."vgt=1" or "GVT-g=1". > > > Hence the user will have to configure the max_wp_ram_ranges himself, > > > right? > > > > > > > Not always. The option can be configured manually by the user, or > > automatically set in the code when "vgt=1" is recognized. > > Is the latter approach not always sufficient? IOW, if it can be done > automatically, why would the user need to tweak it? > I think latter is sufficient for now. We always have the option of adding a specific wp_ram_ranges parameter in future if there is a need. Paul > Ian.