| To: | "Anthony Liguori" <aliguori@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] live saving of domU |
| From: | "Jacob Gorm Hansen" <jacobg@xxxxxxx> |
| Date: | 2006年5月11日 10:25:00 +0200 |
| Cc: | xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>, Jayesh Salvi <jayeshsalvi@xxxxxxxxx> |
| Delivery-date: | 2006年5月11日 01:25:22 -0700 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=J6MR41EpPAALyb6LLVJEby0Fxe7aaN9D28SbmjuyB3tWeb5hUBFLSns1MMIEuyWxK6I0rOKJZK5lwcFbHZnCTI4jIBBE52AbXD6A2VeoTss7Cs51I0jFnhp2fsV/3+9/Fim8CN6kgC267GQ+bWwp4bglqbshzt9XMmzCzI1i3Yc= |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| In-reply-to: | <44621BDD.9060401@xxxxxxxxxx> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| References: | <871640aa0605100840t14a9f9deqf5c9be99f56917b7@xxxxxxxxxxxxxx> <20060510163213.GF4954@xxxxxxxxxxxxxxxxxxxxxx> <44621BDD.9060401@xxxxxxxxxx> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On 5/10/06, Anthony Liguori <aliguori@xxxxxxxxxx> wrote:
Moreover, you cannot dump the state of a domain after a pause and expect it to ever run again. Guests are aware of the physical addresses of the memory that's been allocated to them. Because of this, to save a domain's state in a restorable way you need the guest to "canonicalize" itself. The only way to do this today is through a suspend operation which happens to be a subop of shutdown. Shutdowns are non-recoverable so you cannot use this as a snapshotting mechanism.
I've gotten a lot of requests for light weight checkpointing. AFAIK, noone is actually working on it though.
Hi, I've got this running for xenlinux, using self-checkpointing. I solve the canonicalization problem by having a radix-tree which maps mfns to offsets in the pfn->mfn table, and upon resume use this to remap all the page tables. It works both across the network and to a block device, as long as it's opened with O_DIRECT. I am working on bringing the patch up to date with Xen 3.0.2 at the moment. It would be great to have the driver model better support resume after suspend of xenbus and devices in the same domU. Jacob _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] Re: [RFC PATCH 34/35] Add the Xen virtual network device driver. , Herbert Xu |
|---|---|
| Next by Date: | Re: [Xen-devel] Re: [RFC PATCH 07/35] Make LOAD_OFFSET defined by subarch , Chris Wright |
| Previous by Thread: | Re: [Xen-devel] live saving of domU , Anthony Liguori |
| Next by Thread: | Re: [Xen-devel] live saving of domU , Jayesh Salvi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |