From: Keir Fraser Subject: Re: memory_reservation bug?: memory holes Date: Wed, 11 Mar 2009 22:41:37 +0000 Message-ID: References: <49B81609.8070305@Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49B81609.8070305@Sun.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: "Mick.Jordan@sun.com" Cc: xen-devel-list List-Id: xen-devel@lists.xenproject.org On 11/03/2009 19:50, "Mick Jordan" wrote: > A related question. I assume it is ok to have holes in the physical > memory, i.e. call decrease_reservation with a range << max_pfn. In this > case, what are the rules for the value in the P2M table? Does Xen zero > out the slot or is it the guest's responsibility? save/restore must be > able to determine that a hole exists. The P2M is completely in your control. Xen doesn't care about it. The toolstack cares about it only for save/restore -- there I think any invalid value stuffed in an empty slot would work just fine. -- Keir