From 8928100064f6c8a5ba0c2e798172f123024631ba Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Tue, 4 Aug 2015 12:02:55 +0200 Subject: [PATCH] libxl: increase hotplug timeout to 40s MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The default libxl timeout for hotplug scripts execution is too low, when launching 40 HVM guests in parallel, all using the same file as disk, execution times of ~20s are expected. Increase the timeout to 40s in order to be sure hotplug scripts have enough time to execute. This is a short term solution. Reported-by: Konrad Rzeszutek Wilk Signed-off-by: Roger Pau Monné Acked-by: Wei Liu --- tools/libxl/libxl_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index 2771c71af0..29e04291b5 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -86,7 +86,7 @@ #define LIBXL_INIT_TIMEOUT 10 #define LIBXL_DESTROY_TIMEOUT 10 -#define LIBXL_HOTPLUG_TIMEOUT 10 +#define LIBXL_HOTPLUG_TIMEOUT 40 /* QEMU may be slow to load and start due to a bug in Linux where the I/O * subsystem sometime produce high latency under load. */ #define LIBXL_DEVICE_MODEL_START_TIMEOUT 60 -- 2.39.5