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
|