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 1 of 5] Advertise resumability feature in guest kerne

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 1 of 5] Advertise resumability feature in guest kernel
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Fri, 12 Jan 2007 15:03:08 -0700
Delivery-date: Fri, 12 Jan 2007 15:07:45 -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 1168642819 28800
# Node ID 34a989337172b3df09a8b10089d4471a026bb613
# Parent  8c14bd989fba459154b266396067a8dd1e1fe829
Advertise resumability feature in guest kernel.

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

diff -r 8c14bd989fba -r 34a989337172 
linux-2.6-xen-sparse/drivers/xen/core/reboot.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/reboot.c    Fri Jan 12 15:00:19 
2007 -0800
+++ b/linux-2.6-xen-sparse/drivers/xen/core/reboot.c    Fri Jan 12 15:00:19 
2007 -0800
@@ -204,6 +204,8 @@ static int setup_shutdown_watcher(struct
        else
                xenbus_write(XBT_NIL, "control", "feature-sysrq", "1");
 
+       xenbus_write(XBT_NIL, "control", "feature-resumable", "1");
+
        return NOTIFY_DONE;
 }
 

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