From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chen, Tiejun" Subject: Re: [v4][PATCH 11/19] tools: introduce some new parameters to set rdm policy Date: Mon, 06 Jul 2015 22:46:06 +0800 Message-ID: <559A94AE.1030401@intel.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> <559AAE22020000780008CC97@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <559AAE22020000780008CC97@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , George Dunlap Cc: IanJackson , "xen-devel@lists.xen.org" , Wei Liu , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 2015/7/6 22:34, Jan Beulich wrote: >>>> 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.) I can't understand this point. There's no any default flag/policy in the hypervisor level, and the hypervisor doesn't do anything to RMRR by itself. All actions just take place when xl/xc issue our needed requirements according to the rdm setting in .cfg. >> >> 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. > Looks all guys would like to walk into this way in the case of RMRR, so I can follow up this way. ( Maybe the confusion above doesn't matter now? ) Thanks Tiejun