[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxenlight: allow domain to publish its suspend evtchn



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1259675328 0
# Node ID 72ad0f6bb3b61497d75d0ef71f8e422f4ce1826c
# Parent  d4157fe48f196a920b5c7975673ae031ca32088e
libxenlight: allow domain to publish its suspend evtchn

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>
---
 tools/libxl/libxl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r d4157fe48f19 -r 72ad0f6bb3b6 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Tue Dec 01 13:48:03 2009 +0000
+++ b/tools/libxl/libxl.c       Tue Dec 01 13:48:48 2009 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.