This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] memory_reservation bug?: memory holes

To: "Mick.Jordan@xxxxxxx" <Mick.Jordan@xxxxxxx>
Subject: Re: [Xen-devel] memory_reservation bug?: memory holes
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 11 Mar 2009 22:41:37 +0000
Cc: xen-devel-list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 11 Mar 2009 15:42:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49B81609.8070305@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmigqXH16w9u5QiQDKR53hMQ9H/swAF+OWy
Thread-topic: [Xen-devel] memory_reservation bug?: memory holes
User-agent: Microsoft-Entourage/
On 11/03/2009 19:50, "Mick Jordan" <Mick.Jordan@xxxxxxx> 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

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>