From: "Jan Beulich" Subject: Re: [v6][PATCH 0/7] xen: reserve RMRR to avoid conflicting MMIO/RAM Date: Thu, 11 Sep 2014 11:01:51 +0100 Message-ID: <54118F2F0200007800033C04@mail.emea.novell.com> References: <1410328190-6372-1-git-send-email-tiejun.chen@intel.com> <5410FD10.1020603@intel.com> <54116FDA0200007800033AEC@mail.emea.novell.com> <54116DC3.9020506@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54116DC3.9020506@intel.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: Kevin Tian , Tiejun Chen Cc: Yang Z Zhang , "xen-devel@lists.xen.org" , "ian.jackson@eu.citrix.com" , "ian.campbell@citrix.com" , "stefano.stabellini@eu.citrix.com" List-Id: xen-devel@lists.xenproject.org >>> On 11.09.14 at 11:39, wrote: > #1: In case of creating a VM, we may use global flag to make sure our > original codes work indeed. It should be easy and especially I guess we > can't check any conflict directly here since those memory info, > RAM/MMIO/others, don't be filled completely, right? This part will probably need fully dealing with in the tools, with the hypervisor only refusing to set up conflicting P2M entries (as iirc you're already doing). > #2: In case of a running VM, we can check if any overlapping exist then > determine what's next. Often we should drop to attach such a conflicting > device. This one I would guess would benefit from the tools doing the checking if they can, but perhaps the hypervisor is in a better position to do this. If I'm right with this, at the tools level it would need to be made certain that this doesn't end up in a cryptic and/or well hidden error messages, leaving the operator to guess what went wrong. Jan