Skip to contentSkip to conversation

: libxenlight, allow domain to publish its suspend evtchn

PATCH In review Andres Lagar-Cavilla 1 participant 1 message Nov 30, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 12/14 : 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.

# HG changeset patch
# User Andres Lagar-Cavilla <[email protected]> # 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.

libxl.c +1 -1
diff -r e350e5449b66 -r 6d0443da446a 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
[email protected]
http://lists.xensource.com/xen-devel