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 3 of 5] Add SIF_RESUMABLE flag to tell restore that a

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 3 of 5] Add SIF_RESUMABLE flag to tell restore that a guest is resumable
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Fri, 12 Jan 2007 15:03:10 -0700
Delivery-date: Fri, 12 Jan 2007 15:08:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1168642987@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
# HG changeset patch
# User Brendan Cully <brendan@xxxxxxxxx>
# Date 1168642944 28800
# Node ID ebdc01d032e8656c130ed945ce54f08108f42c73
# Parent  fda11d9e5241eccd3c103e9b6a42ea33dd236174
Add SIF_RESUMABLE flag to tell restore that a guest is resumable.

Unlike the other start_info flags, the flow of information here is
from the kernel to the tools.

Signed-off-by: Brendan Cully <brendan@xxxxxxxxx>

diff -r fda11d9e5241 -r ebdc01d032e8 xen/include/public/xen.h
--- a/xen/include/public/xen.h  Fri Jan 12 15:02:14 2007 -0800
+++ b/xen/include/public/xen.h  Fri Jan 12 15:02:24 2007 -0800
@@ -535,6 +535,7 @@ typedef struct start_info start_info_t;
 /* These flags are passed in the 'flags' field of start_info_t. */
 #define SIF_PRIVILEGED    (1<<0)  /* Is the domain privileged? */
 #define SIF_INITDOMAIN    (1<<1)  /* Is this the initial control domain? */
+#define SIF_RESUMABLE     (1<<2)  /* does the domain support checkpointing? */
 
 typedef struct dom0_vga_console_info {
     uint8_t video_type; /* DOM0_VGA_CONSOLE_??? */

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