All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 12/14]: libxenlight, allow domain to publish its suspend evtchn
@ 2009-11-30 19:17 Andres Lagar-Cavilla
  0 siblings, 0 replies; only message in thread
From: Andres Lagar-Cavilla @ 2009-11-30 19:17 UTC (permalink / raw)
  To: Stefano Stabellini, xen-devel

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

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@lagarcavilla.com>


[-- Attachment #2: 12_allow_domain_publish_suspend_evtchn.patch --]
[-- Type: text/x-patch, Size: 856 bytes --]

# HG changeset patch
# User Andres Lagar-Cavilla <andres@lagarcavilla.com>
# 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@lagarcavilla.com>

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;

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-30 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30 19:17 [PATCH 12/14]: libxenlight, allow domain to publish its suspend evtchn Andres Lagar-Cavilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.