WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 0 of 3] Enable domain checkpointing via xm save -

To: Brendan Cully <brendan@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0 of 3] Enable domain checkpointing via xm save --checkpoint
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Tue, 27 Feb 2007 16:10:55 +0000
Delivery-date: Tue, 27 Feb 2007 08:10:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1172543793@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdaidvrGjY0eMZ9EdupjAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH 0 of 3] Enable domain checkpointing via xm save --checkpoint
User-agent: Microsoft-Entourage/11.2.5.060620
Basically okay, but please create a new elfnote rather than adding a
feature. The feature stuff has kind of got a bit confused, but is meant to
indicate features provided by Xen to a particular guest. The feature maps in
the guest header indicate which Xen features it requires and/or supports.
This new flag has nothing to do with the hypervisor itself so I think it
belongs in its own elfnote (XEN_ELFNOTE_SUSPEND_CANCEL?). This can either be
a boolean (so no elfnote description bytes) or perhaps we should map it to a
long with value 1 for now (so we can add further save/restore revisions
later if we like).

Oh, also remember to add the elfnote to the x86/64 head-xen.S.

 -- Keir

On 27/2/07 02:36, "Brendan Cully" <brendan@xxxxxxxxx> wrote:

> The attached patches create a --checkpoint flag for xm save:
> 
> xc_domain_resume lets the caller alert the guest that it is being
> resumed. Callers should not do this unless they know the guest
> supports the operation.
> 
> When xend wants to resume a domain, it checks for the suspend_cancel
> feature in the elfnotes it has recorded from domain build or
> resume. If the flag is present, it simply lets the guest handle
> resuming, otherwise it tears down and rebuilds the domain and lets the
> guest act as if it is resuming in a new domain.
> 
> A new suspend_cancel feature is added to the kernel 'features'
> elfnote.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel