From: Keir Fraser Subject: Re: scrubbing pages on vm pause Date: Tue, 25 May 2010 15:13:35 +0100 Message-ID: References: <4BFBDAE5.4000805@invisiblethingslab.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BFBDAE5.4000805@invisiblethingslab.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: Joanna Rutkowska Cc: "xen-devel@lists.xensource.com" , Rafal Wojtczuk List-Id: xen-devel@lists.xenproject.org On 25/05/2010 15:12, "Joanna Rutkowska" 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