WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: scrubbing pages on vm pause

To: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: scrubbing pages on vm pause
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 25 May 2010 15:13:35 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 25 May 2010 07:14:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BFBDAE5.4000805@xxxxxxxxxxxxxxxxxxxxxx>
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: Acr8E+m4JLtVk6x4QaiBbBIinXbcagAAIy3T
Thread-topic: scrubbing pages on vm pause
User-agent: Microsoft-Entourage/12.24.0.100205
On 25/05/2010 15:12, "Joanna Rutkowska" <joanna@xxxxxxxxxxxxxxxxxxxxxx>
wrote:

>> New domains are not guaranteed to receive zeroed memory. The only guarantee
>> Xen provides is that when it frees memory for a *dead* domain, it will scrub
>> the contents before reallocation (it may not write zeroes however, in a
>> debug build of Xen for example!). Other memory pages the domain freeing the
>> pages must scrub them itself before freeing them back to Xen.
>> 
> 
> And what happens when we pause and save a domain? Are the pages zero-out
> by xen in that case?

If the original domain is subsequently destroyed then yes, Xen zeroes the
pages.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel