From: Keir Fraser Subject: Re: Hyp compat_memory_op() and 256 GB PV Date: Wed, 18 Feb 2009 20:54:43 +0000 Message-ID: References: <499C66F6.5070307@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <499C66F6.5070307@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "mukesh.rathor@oracle.com" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 18/02/2009 19:52, "Mukesh Rathor" wrote: > This is a PV domain BTW, I guess xc_hvm_build.c wont' be involved. I'll > instrument libxc and debug more... meanwhile I thought I'd post this. Yes, my mistake, and this points us straight at the problem. You see the xc_domain_memory_populate_physmap() call at the end of libxc/xc_dom_x86.c:arch_setup_meminit()? That needs to be put in a for loop, allocating no more than, say, a million pages at a time. The patch should be very simple, so I'll leave the rest to you. -- Keir