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

Re: [Xen-devel] live saving of domU


  • To: "Anthony Liguori" <aliguori@xxxxxxxxxx>
  • From: "Jacob Gorm Hansen" <jacobg@xxxxxxx>
  • Date: Thu, 11 May 2006 10:25:00 +0200
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>, Jayesh Salvi <jayeshsalvi@xxxxxxxxx>
  • Delivery-date: Thu, 11 May 2006 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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