From: Ian Jackson Subject: Re: [PATCH v4 8/8] libxl, hvmloader: Don't relocate memory for MMIO hole Date: Fri, 21 Jun 2013 12:25:25 +0100 Message-ID: <20932.14373.923810.520340@mariner.uk.xensource.com> References: <1371811594-31135-1-git-send-email-george.dunlap@eu.citrix.com> <1371811594-31135-9-git-send-email-george.dunlap@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1371811594-31135-9-git-send-email-george.dunlap@eu.citrix.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: George Dunlap Cc: Keir Fraser , Hanweidong , Stefano Stabellini , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org George Dunlap writes ("[PATCH v4 8/8] libxl,hvmloader: Don't relocate memory for MMIO hole"): > At the moment, qemu-xen can't handle memory being relocated by > hvmloader. This may happen if a device with a large enough memory > region is passed through to the guest. At the moment, if this > happens, then at some point in the future qemu will crash and the > domain will hang. (qemu-traditional is fine.) > > It's too late in the release to do a proper fix, so we try to do > damage control. > > hvmloader already has mechanisms to relocate memory to 64-bit space if > it can't make a big enough MMIO hole. By default this is 2GiB; if we > just refuse to make the hole bigger if it will overlap with guest > memory, then the relocation will happen by default. I see you still haven't changed it to use GCSPRINTF but I don't think that's worth arguing about right now. Acked-by: Ian Jackson