From: Hollis Blanchard Subject: Re: [PATCH] [XEND] abstract architecture-specific bits in image.py Date: Tue, 29 Aug 2006 21:27:58 -0500 Message-ID: <1156904878.8182.9.camel@basalt.austin.ibm.com> References: <1156283455.8683.90.camel@basalt.austin.ibm.com> <20060829221630.GC16356@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060829221630.GC16356@leeni.uk.xensource.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: Ewan Mellor Cc: Tim Deegan , xen-devel , xen-ppc-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2006-08-29 at 23:16 +0100, Ewan Mellor wrote: > On Tue, Aug 22, 2006 at 04:50:54PM -0500, Hollis Blanchard wrote: > > > Since this patch wasn't committed, the shadow2 changes created > > conflicts. Here is the respin. Note that I have not tested with shadow2, > > but as you can see below the math doesn't need to be so complicated. > > > > Ewan, please apply or comment. > > Applied, thanks Hollis. Is this your only outstanding patch? I got lost > when you rev'd this one a couple of times ;-) Thanks Ewan! I will have another patch for you shortly. :) Actually there was one bug we discovered as a result of the shadow merge: shadow_mem_control's arguments should be MB, not bytes. Here's the pseudo-diff: - shadow_cur = xc.shadow_mem_control(self.domid, shadow_kb * 1024) + shadow_cur = xc.shadow_mem_control(self.domid, shadow_kb / 1024) -- Hollis Blanchard IBM Linux Technology Center