From: "Jan Beulich" Subject: Re: [RFC][PATCH 4/5] tools:firmware:hvmloader: reserve RMRR mappings in e820 Date: Mon, 11 Aug 2014 07:53:22 +0100 Message-ID: <53E88482020000780002AFB9@mail.emea.novell.com> References: <1407409371-31728-1-git-send-email-tiejun.chen@intel.com> <1407409371-31728-5-git-send-email-tiejun.chen@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 08.08.14 at 23:47, wrote: >> From: Chen, Tiejun >> Sent: Thursday, August 07, 2014 4:03 AM >> >> We need to reserve all RMRR mappings in e820 to avoid any >> potential guest memory conflict. > > strictly speaking besides reserving in e820, you should also poke later > MMIO BAR allocations to avoid confliction too. Currently it's relative > to low_mem_pgend, which is likely to be different from host layout > so it's still possible to see a virtual MMIO bar base conflicting to the > RMRR ranges which are supposed to be sparse. Correct. And what's worse: Possible collisions between RMRRs and the BIOS we place into the VM need to be taken care of, which may turn out rather tricky. Jan