From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joanna Rutkowska Subject: Re: scrubbing pages on vm pause Date: Tue, 25 May 2010 16:19:48 +0200 Message-ID: <4BFBDC84.2090500@invisiblethingslab.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0742134314==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" , Rafal Wojtczuk List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0742134314== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig04B8CD215F394B48DF2F3C86" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig04B8CD215F394B48DF2F3C86 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/25/2010 04:13 PM, Keir Fraser wrote: > On 25/05/2010 15:12, "Joanna Rutkowska" = > wrote: >=20 >>> New domains are not guaranteed to receive zeroed memory. The only gua= rantee >>> Xen provides is that when it frees memory for a *dead* domain, it wil= l scrub >>> the contents before reallocation (it may not write zeroes however, in= a >>> debug build of Xen for example!). Other memory pages the domain freei= ng 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-o= ut >> by xen in that case? >=20 > If the original domain is subsequently destroyed then yes, Xen zeroes t= he > pages. >=20 Let's consider this scenario: xm save domain1 xm create domain2 Can the domain2 get *unscrubbed* pages that were previously used by domain1, but were not scrubbed properly by domain1? j. --------------enig04B8CD215F394B48DF2F3C86 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkv73IQACgkQORdkotfEW84vswCfQ7aqo+oKEIuXNHaqeS1WwB3Z DP8AoKXbOR4Lsrng15db7ci7pH1ijbaX =GFIs -----END PGP SIGNATURE----- --------------enig04B8CD215F394B48DF2F3C86-- --===============0742134314== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0742134314==--