This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Domain save/migrate issue

To: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Domain save/migrate issue
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 14 Feb 2006 08:55:39 -0600
Cc: Noam Taich <noam.taich@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, veillard@xxxxxxxxxx
Delivery-date: Tue, 14 Feb 2006 15:08:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1F91Pt-0000lP-00@xxxxxxxxxxxxxxxxx>
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: <E1F91Pt-0000lP-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mail/News 1.5 (X11/20060119)
Steven Hand wrote:
  I tend to agree, it's about having orthogonal APIs, I think you can build
the current behaviour by a sequence of the simpler save and a destroy (though
it would not be atomic anymore). Is there any strong reason a saved domain
must not be left running ?

Unless you also have some way to simulataneously snapshot the file
system, it is not safe to allow the guest to continue and then later
resume the checkpointed version.
There are storage devices that provide this capability. Also, Dan Smith is working on a COW device for Xen that could be used to checkpoint a storage device.

However, there's a fair bit of work that would be needed to allow for light-weight checkpointing. A domain has to be suspended for the checkpoint to finish (although presumably one could use a similar as live migration to get most of the way there). Today, in Xen, there is no way to get out of a suspended state.

If a domain could leave the suspended state, it would make checkpointing pretty cheap. Also, presumably, it would simplify rebooting because instead of having to recreate a domain on reboot, the hypervisor could just reinit it. Of course, it would need some way of knowing how to build the domain...


Anthony Liguori

Xen-devel mailing list

Xen-devel mailing list