From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [v4][PATCH 11/19] tools: introduce some new parameters to set rdm policy Date: Mon, 06 Jul 2015 15:34:42 +0100 Message-ID: <559AAE22020000780008CC97@mail.emea.novell.com> References: <1435053450-25131-1-git-send-email-tiejun.chen@intel.com> <1435053450-25131-12-git-send-email-tiejun.chen@intel.com> <55933F7C.2050607@intel.com> <5593BBC8.1010402@eu.citrix.com> <5593C063.7000705@intel.com> <5593C7AC.8030901@eu.citrix.com> <5593CC19.9020200@intel.com> <5593EB53.5000601@eu.citrix.com> <559A83E3.7040401@intel.com> <559AA41E020000780008CC14@mail.emea.novell.com> <559A8EF7.2000904@intel.com> <559A90AF.9010407@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <559A90AF.9010407@eu.citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Wei Liu , Ian Campbell , Stefano Stabellini , IanJackson , "xen-devel@lists.xen.org" , Tiejun Chen List-Id: xen-devel@lists.xenproject.org >>> On 06.07.15 at 16:29, wrote: > It sounds like part of the problem here is a matter of domains. > > Jan cares mostly about what happens in the hypervisor. At the > hypervisor level, there is only the per-device configurations, and he is > keen that rmrrs be "strict" by default, unless there is an explicit flag > to relax it. (I agree with this, FWIW.) > > What we've been arguing about is the xl layer -- what settings should > xl/libxl give to the hypervisor, based on what's in the domain config? > > It sounds like Jan doesn't care a great deal about it, and in any case > would defer to the tools maintainers, but that if asked for his advice > he would say that the configuration in xl.cfg should act like all the > other pci device configurations: that you have a domain-wide default > that can be overridden in the per-device setting. > > I.e.: > --- > rdm='reserve=strict' > pci=[ '02:0.0', '01:1.1,rdm_reserve=relaxed' ] > --- > Would pass "strict" for the first device, and "relaxed" for the second. > > Do I understand you both properly, Jan / Tiejun? Yes for me. Jan