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 12/14]: libxenlight, allow domain to publish its susp

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 12/14]: libxenlight, allow domain to publish its suspend evtchn
From: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
Date: Mon, 30 Nov 2009 14:17:07 -0500
Cc:
Delivery-date: Mon, 30 Nov 2009 11:18:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
Allow domain to publish its suspend event channel.
Otherwise, the fast event-channel-based suspend
path is disabled.

Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>

# HG changeset patch
# User Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
# Date 1259434718 18000
# Node ID 6d0443da446ae59ea32f27abe7823e8ec4bd4327
# Parent  e350e5449b66b63eaf4ab13e3b418473cd5e7827
Allow domain to publish its suspend event channel.
Otherwise, the fast event-channel-based suspend 
path is disabled.

Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>

diff -r e350e5449b66 -r 6d0443da446a libxl.c
--- a/libxl.c
+++ b/libxl.c
@@ -82,7 +82,7 @@ int libxl_domain_make(struct libxl_ctx *
 {
     int flags, ret, i;
     char *uuid_string;
-    char *rw_paths[] = { "device" };
+    char *rw_paths[] = { "device", "device/suspend/event-channel" };
     char *ro_paths[] = { "cpu", "memory", "device", "error", "drivers",
                          "control", "attr", "data", "messages" };
     char *dom_path, *vm_path, *vss_path;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 12/14]: libxenlight, allow domain to publish its suspend evtchn, Andres Lagar-Cavilla <=