From: Ian Jackson Subject: Re: [v10][PATCH 11/16] tools/libxl: detect and avoid conflicts with RDM Date: Tue, 21 Jul 2015 16:10:16 +0100 Message-ID: <21934.24792.250014.346947@mariner.uk.xensource.com> References: <1437373023-14884-1-git-send-email-tiejun.chen@intel.com> <1437373023-14884-12-git-send-email-tiejun.chen@intel.com> <21932.63595.566823.211293@mariner.uk.xensource.com> <21934.8684.318670.874156@mariner.uk.xensource.com> <55AE272A.4020306@intel.com> <21934.10490.615041.203428@mariner.uk.xensource.com> <55AE2BB1.9030604@intel.com> <21934.11410.844215.554291@mariner.uk.xensource.com> <55AE30D4.8000009@intel.com> <21934.15393.528332.534956@mariner.uk.xensource.com> <55AE4C12.5070303@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55AE4C12.5070303@intel.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: "Chen, Tiejun" Cc: Stefano Stabellini , Wei Liu , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Chen, Tiejun writes ("Re: [v10][PATCH 11/16] tools/libxl: detect and avoid conflicts with RDM"): > [Ian Jackson:] > > That is, an address would be reserved if it was reserved in any of the > > rdm regions implied by the config. > > Are you saying this point? > > "The union of two sets A and B is the set of elements which are in A, in > B, or in both A and B." Yes. > > The explicitly specified regions might overlap with the computed ones, > > without being identical. Computing the union would not be entirely > > trivial. > > Just to your example, > > libxl_domain_config cfg; > cfg.stuff = blah; > cfg.rdm.strategy = HOST; > > libxl_domain_create_new(&cfg, &domid); > libxl_domain_destroy(domid); > > Here looks you mean d_config->rdms would be changed, right? Currently > this shouldn't be allowed. But I think we need to further discussion > make this case clear after feature freeze since we didn't have this kind > of assumption in our previous design. > > libxl_domain_create_new(&cfg, &domid); This response of yours does not lead me to think you have understood what I am saying, but I agree that this can be dealt with later (if indeed it needs to be dealt with at all). Ian.