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

[Xen-devel] [PATCH 0 of 5] Make checkpointing backwards compatible with

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 0 of 5] Make checkpointing backwards compatible with older kernels
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Fri, 12 Jan 2007 15:03:07 -0700
Delivery-date: Fri, 12 Jan 2007 15:09:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
This set of patches makes checkpointing backwards compatible with
older kernels. Checkpointable kernels now create a xenstore entry
called "control/feature-resumable" which xc save -c checks before
attempting to checkpoint a domain.

It also writes a new SIF_RESUMABLE flag into the suspend record,
which xc_linux_restore uses to decide whether it is safe to set the
hypercall return value. Although pre-checkpoint linux images ignore
the return value, I've heard that solaris bails out if the result is
anything but 0. Another possibly simpler strategy would be to flip the
return values, so 1 means the call is resuming in the source domain
and 0 means it is in a new domain and must reconnect. This is what
older kernels (that are only ever restored in a new domain) expect
anyway.

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