[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

On 05/25/2010 04:13 PM, Keir Fraser wrote:
> 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.

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?


Attachment: signature.asc
Description: OpenPGP digital signature

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.