From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar-Cavilla Subject: [PATCH 12/14]: libxenlight, allow domain to publish its suspend evtchn Date: Mon, 30 Nov 2009 14:17:07 -0500 Message-ID: <4B141A33.1090904@lagarcavilla.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020402040900070506010401" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------020402040900070506010401 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Allow domain to publish its suspend event channel. Otherwise, the fast event-channel-based suspend path is disabled. Signed-off-by: Andres Lagar-Cavilla --------------020402040900070506010401 Content-Type: text/x-patch; name="12_allow_domain_publish_suspend_evtchn.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="12_allow_domain_publish_suspend_evtchn.patch" # HG changeset patch # User Andres Lagar-Cavilla # 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 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; --------------020402040900070506010401 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------020402040900070506010401--