From: Joanna Rutkowska <joanna@invisiblethingslab.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Rafal Wojtczuk <rafal@invisiblethingslab.com>
Subject: Re: scrubbing pages on vm pause
Date: Tue, 25 May 2010 16:19:48 +0200 [thread overview]
Message-ID: <4BFBDC84.2090500@invisiblethingslab.com> (raw)
In-Reply-To: <C821999F.15423%keir.fraser@eu.citrix.com>
[-- Attachment #1.1: Type: text/plain, Size: 932 bytes --]
On 05/25/2010 04:13 PM, Keir Fraser wrote:
> On 25/05/2010 15:12, "Joanna Rutkowska" <joanna@invisiblethingslab.com>
> 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?
j.
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 226 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2010-05-25 14:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-25 10:35 Improving domU restore time Rafal Wojtczuk
2010-05-25 10:58 ` Joanna Rutkowska
2010-05-25 11:50 ` Keir Fraser
2010-05-25 12:50 ` Rafal Wojtczuk
2010-05-25 12:59 ` Keir Fraser
2010-05-25 13:33 ` scrubbing free'd pages James Harper
2010-05-25 13:39 ` Keir Fraser
2010-05-25 13:48 ` Paul Durrant
2010-05-25 14:12 ` scrubbing pages on vm pause Joanna Rutkowska
2010-05-25 14:13 ` Keir Fraser
2010-05-25 14:19 ` Joanna Rutkowska [this message]
2010-05-25 14:19 ` Keir Fraser
2010-05-25 14:24 ` Joanna Rutkowska
2010-05-25 13:02 ` Improving domU restore time Keir Fraser
2010-05-31 9:42 ` Rafal Wojtczuk
2010-06-01 17:00 ` Jeremy Fitzhardinge
2010-06-02 16:24 ` Rafal Wojtczuk
2010-06-02 16:33 ` Jeremy Fitzhardinge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BFBDC84.2090500@invisiblethingslab.com \
--to=joanna@invisiblethingslab.com \
--cc=keir.fraser@eu.citrix.com \
--cc=rafal@invisiblethingslab.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.