File libxl.LIBXL_DESTROY_TIMEOUT.patch of Package xen.19016
bsc#1035442
the default value of LIBXL_DESTROY_TIMEOUT is too low when many domUs shutdown in parallel
pick an arbitrary higher value
Index: xen-4.10.0-testing/tools/libxl/libxl_internal.h
===================================================================
--- xen-4.10.0-testing.orig/tools/libxl/libxl_internal.h
+++ xen-4.10.0-testing/tools/libxl/libxl_internal.h
@@ -90,7 +90,7 @@
#include "_libxl_types_internal_json.h"
#define LIBXL_INIT_TIMEOUT 10
-#define LIBXL_DESTROY_TIMEOUT 10
+#define LIBXL_DESTROY_TIMEOUT 100
#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. */