libxenlight: allow domain to publish its suspend evtchn
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Dec 2009 13:48:48 +0000 (13:48 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Dec 2009 13:48:48 +0000 (13:48 +0000)
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>
tools/libxl/libxl.c

index 2c5d430c1e0d4b3f9088e5da015fb58d93388ec5..7aa0dd349fa52741c823b512d6c5980f9fb39e9e 100644 (file)
@@ -82,7 +82,7 @@ int libxl_domain_make(struct libxl_ctx *ctx, libxl_domain_create_info *info,
 {
     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;