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

[Xen-devel] scrubbing pages on vm pause

On 05/25/2010 02:59 PM, Keir Fraser wrote:
> On 25/05/2010 13:50, "Rafal Wojtczuk" <rafal@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>>> There is no guarantee that the memory will be zeroed.
>> Interesting.
>> For my education, could you explain who is responsible for clearing memory
>> of a newborn domain ? Xend ? Could you point me to the relevant code
>> fragments ?
> 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?


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®.