From 41af6f38d95ac1ec058488705c048539df92c125 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 19 May 2009 02:18:48 +0100 Subject: xend: Make hotplug script timeouts configurable In some configurations, when dom0 is busy with I/O, it may take several minutes to complete all hotplug scripts required when a new domain is being created. As device create timeout is set to 100 seconds, users get "hotplug scripts not working" error instead of a new domain. This patch makes both DEVICE_CREATE_TIMEOUT and DEVICE_DESTROY_TIMEOUT configurable in xend-config.sxp to allow users to easily adapt hotplug timeouts to their environment. Signed-off-by: Jiri Denemark --- tools/examples/xend-config.sxp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/examples') diff --git a/tools/examples/xend-config.sxp b/tools/examples/xend-config.sxp index 7ca270661a..a1d8c85fa3 100644 --- a/tools/examples/xend-config.sxp +++ b/tools/examples/xend-config.sxp @@ -254,3 +254,9 @@ # Path where persistent domain configuration is stored. # Default is /var/lib/xend/domains/ #(xend-domains-path /var/lib/xend/domains) + +# Number of seconds xend will wait for device creation and +# destruction +#(device-create-timeout 100) +#(device-destroy-timeout 100) + -- cgit v1.2.3